Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-12-02 13:49:14 +0300
committerNick Clifton <nickc@redhat.com>2003-12-02 13:49:14 +0300
commitc488125f39e727b7f06d289a3aa8858b3e713986 (patch)
tree3efee00ff66d3e3ce6161c0fe848278a30185d02 /include/coff/internal.h
parent8a91312a3a4bdae301a0038a26f3790cf277a99d (diff)
Add alternative defintion of C_WEAKEXT for AIX 5.2
Diffstat (limited to 'include/coff/internal.h')
-rw-r--r--include/coff/internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/coff/internal.h b/include/coff/internal.h
index b9b6368f0..2d41bf9a5 100644
--- a/include/coff/internal.h
+++ b/include/coff/internal.h
@@ -235,7 +235,11 @@ struct internal_aouthdr
#define C_ALIAS 105 /* duplicate tag */
#define C_HIDDEN 106 /* ext symbol in dmert public lib */
-#define C_WEAKEXT 127 /* weak symbol -- GNU extension */
+#if defined _AIX52 || defined AIX_WEAK_SUPPORT
+#define C_WEAKEXT 111 /* weak symbol -- AIX standard. */
+#else
+#define C_WEAKEXT 127 /* weak symbol -- GNU extension. */
+#endif
/* New storage classes for TI COFF */
#define C_UEXT 19 /* Tentative external definition */