summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-12-02 10:49:14 +0000
committerNick Clifton <nickc@redhat.com>2003-12-02 10:49:14 +0000
commitf2c4baea5dd8ed26f0d673dbe657fc670c4b3cd5 (patch)
tree86137d51c732a0659e77c80f40b9cb8d58826f72 /include
parent0ded8b3f8cbdf3dff150ddb6a897c36d6aff49d6 (diff)
downloadgdb-f2c4baea5dd8ed26f0d673dbe657fc670c4b3cd5.tar.gz
Add alternative defintion of C_WEAKEXT for AIX 5.2
Diffstat (limited to 'include')
-rw-r--r--include/coff/ChangeLog5
-rw-r--r--include/coff/internal.h6
2 files changed, 10 insertions, 1 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index 75a7ff818f9..d18113d52e9 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-02 Graham Reed <grahamr@algorithmics.com>
+
+ * internal.h (C_WEAKEXT): Add alternative value for AIX 5.2
+ based targets.
+
2003-08-23 Jason Eckhardt <jle@rice.edu>
* coff/i860.h (COFF860_R_PAIR, COFF860_R_LOW0, COFF860_R_LOW1,
diff --git a/include/coff/internal.h b/include/coff/internal.h
index b9b6368f039..2d41bf9a5f4 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 */