Commit b667f58f by Richard Kenner

(__{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
parent ae17bedb
...@@ -2133,7 +2133,7 @@ SYMBOL__MAIN () ...@@ -2133,7 +2133,7 @@ SYMBOL__MAIN ()
/* We declare the lists here with two elements each, /* We declare the lists here with two elements each,
so that they are valid empty lists if no other definition is loaded. */ so that they are valid empty lists if no other definition is loaded. */
#if !defined(INIT_SECTION_ASM_OP) && !defined(CTOR_LISTS_DEFINED_EXTERNALLY) #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. */ /* After 2.3, try this definition on all systems. */
func_ptr __CTOR_LIST__[2] = {0, 0}; func_ptr __CTOR_LIST__[2] = {0, 0};
func_ptr __DTOR_LIST__[2] = {0, 0}; func_ptr __DTOR_LIST__[2] = {0, 0};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment