From 5f1900811cd0af7cd3bc9052c5013f4edd0e1e45 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 2 Dec 2003 10:49:14 +0000 Subject: Add alternative defintion of C_WEAKEXT for AIX 5.2 --- include/coff/internal.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/coff/internal.h') 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 */ -- cgit v1.1