How to stop --gc-sections nukeing all sections?

Graham Stoney greyham@research.canon.com.au
Sun Apr 9 17:45:00 GMT 2000


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


More information about the Binutils mailing list