diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-11-07 10:53:03 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-11-07 10:53:03 -0500 |
commit | b667f58fae98e9f199fa5f2f869348dcf1fe9324 (patch) | |
tree | a60cd645cc4c013215ecb20a0bf617c8c7ef67a0 | |
parent | ae17bedb1812ae5bf9bfb29c20f0b779481521bc (diff) | |
download | gcc-b667f58fae98e9f199fa5f2f869348dcf1fe9324.zip gcc-b667f58fae98e9f199fa5f2f869348dcf1fe9324.tar.gz gcc-b667f58fae98e9f199fa5f2f869348dcf1fe9324.tar.bz2 |
(__{C,D}TOR_LIST): For AIX...
(__{C,D}TOR_LIST): For AIX, initialize these arrays to 0,0, just like
NeXT to avoid a warning message from the AIX 4.1 linker.
From-SVN: r10567
-rw-r--r-- | gcc/libgcc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 4656597..921afef 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -2133,7 +2133,7 @@ SYMBOL__MAIN () /* We declare the lists here with two elements each, so that they are valid empty lists if no other definition is loaded. */ #if !defined(INIT_SECTION_ASM_OP) && !defined(CTOR_LISTS_DEFINED_EXTERNALLY) -#ifdef __NeXT__ +#if defined(__NeXT__) || defined(_AIX) /* After 2.3, try this definition on all systems. */ func_ptr __CTOR_LIST__[2] = {0, 0}; func_ptr __DTOR_LIST__[2] = {0, 0}; |