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?
- To: alan at linuxcare dot com dot au (Alan Modra)
- Subject: Re: How to stop --gc-sections nukeing all sections?
- From: greyham at research dot canon dot com dot au (Graham Stoney)
- Date: Mon, 10 Apr 2000 10:44:36 +1000 (EST)
- Cc: ian at zembu dot com (Ian Lance Taylor), greyham at research dot canon dot com dot au,binutils at sourceware dot cygnus dot com
Hi Alan,
Alan Modra writes:
> Here's a working patch that keeps orphan sections in the order they appear
> in the input (modulo text,data,bss etc. ordering given by the ld script).
>
> OK to install? If so, I'll make equivalent changes to the other .em
> files.
Well, it seems to solve my problem. The sections stay in order.
Thanks!
Graham