PATCH: requesting feedback on dead function optimisation

Graham Stoney greyham at research.canon.com.au
Tue Apr 11 15:41:31 EST 2000


Alan Modra writes:
> Sorry, I was forgetting which sections were getting reversed.  Create a
> linker script with an entry like
>   *(.text.*)
> in section .text then.

Minor problem: this means that the final link stage sees a single .text
section, so --gc-sections has no effect.

I still think using ar for the intermediate stages makes more sense, so I'll
focus on working around whatever problems were convincing people that ld -r
worked better.

Regards,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909  Fax: +61 2 9805 2929

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list