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:
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 */