Linux-kernel mailing list archive 2000-15,: Re: PATCH: requesting feedback on dead function optimisation

# Re: PATCH: requesting feedback on dead function optimisation

Graham Stoney (greyham@research.canon.com.au)
Tue, 11 Apr 2000 15:41:31 +1000 (EST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: George Bonser: "Re: Suggested dual human/binary interface for proc/devfs"
- Previous message: G. Allen Morris III: "Re: Suggested dual human/binary interface for proc/devfs"

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/

- Next message: George Bonser: "Re: Suggested dual human/binary interface for proc/devfs"
- Previous message: G. Allen Morris III: "Re: Suggested dual human/binary interface for proc/devfs"