aboutsummaryrefslogtreecommitdiff
path: root/include/coff/internal.h
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
commit5f1900811cd0af7cd3bc9052c5013f4edd0e1e45 (patch)
tree58a647efaeca4337933236b802ba47c32e7a4abe /include/coff/internal.h
parentf9d1e83fedd5c25580167f93b70abea4495c4cff (diff)
downloadgdb-5f1900811cd0af7cd3bc9052c5013f4edd0e1e45.zip
gdb-5f1900811cd0af7cd3bc9052c5013f4edd0e1e45.tar.gz
gdb-5f1900811cd0af7cd3bc9052c5013f4edd0e1e45.tar.bz2
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 b9b6368..2d41bf9 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 */