This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: How to stop --gc-sections nukeing all sections?
On Mon, Apr 17, 2000 at 05:25:48PM -0700, Ian Lance Taylor wrote:
> But the GNU linker doesn't preserve link order of sections.
Yes it does. Section foo from a.o and b.o are placed in the
order that the two object files appeared on the link line.
> Bear in mind that we are only talking about sections which do not
> appear in the linker script.
Bear in mind that I'm not talking about sections with different
names, but the placement of all sections with the same name.
r~