Re: PATCH: requesting feedback on dead function optimisation

From: Graham Stoney (greyham@research.canon.com.au)
Date: Tue Apr 11 2000 - 00:41:31 EST


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:15 EST