mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
AIX_WEAK_SUPPORT
Making target code depend on a host define like _AIX52 is never correct, so out it goes. Also, sort some config.bfd entries a little to make it more obvious there is a config difference between aix5.1 and aix5.2. These two changes should make no difference to anything in binutils. The gas define of AIX_WEAK_SUPPORT on the other hand was wrong, so fix that. Finally, fix some testsuite fails on aix < 5.2 by simply not running the tests. include/ * coff/internal.h (C_WEAKEXT): Don't depend on _AIX52. bfd/ * coffcode.h (coff_slurp_symbol_table): Don't depend on _AIX52. (coff_classify_symbol): Likewise. * config.bfd: Sort some entries. gas/ * configure.ac (AIX_WEAK_SUPPORT): Don't set for aix5.[01]. * configure: Regenerate. * testsuite/gas/ppc/aix.exp (xcoff-visibility-1*) Don't run for aix < 5.2.
This commit is contained in:
@ -352,7 +352,7 @@ struct internal_aouthdr
|
||||
|
||||
#define C_NULL_VALUE 0x00de1e00 /* Value for a C_NULL deleted entry. */
|
||||
|
||||
#if defined _AIX52 || defined AIX_WEAK_SUPPORT
|
||||
#ifdef AIX_WEAK_SUPPORT
|
||||
#undef C_WEAKEXT
|
||||
#define C_WEAKEXT C_AIX_WEAKEXT
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user