Re: [PATCH, collect2] AIX depth-first shared object initializers

2013-11-20 Thread Ian Lance Taylor
On Wed, Nov 20, 2013 at 4:14 PM, David Edelsohn wrote: > Andrew Dixie and I have been building and using GCC with this feature > for over six months. Are the collect2 changes okay? > > Thanks, David > > > 2013-11-20 David Edelsohn > Andrew Dixie > > libgcc: > > * con

[PATCH, collect2] AIX depth-first shared object initializers

2013-11-20 Thread David Edelsohn
The System V ABI specifies that the initialization functions are called in depth-first dependence order. The AIX runtime loader does not impose that ordering and generally initializes shared objects in breadth-first order. Yeah. Moving on. The attached patch enhances collect2 to initialize share