[PATCH] More aggressive --gc-sections
law@redhat.com
law@redhat.com
Thu Mar 18 17:27:00 GMT 2004
In message <m3ptbagjot.fsf@gossamer.airs.com>, Ian Lance Taylor writes:
>law@redhat.com writes:
>
>> If you wanted to improve the long term maintainability of this code as
>> well as its compatibility with non-GC'd code you could put the special
>> GC related relocations into their own special section from the main
>> relocations.
>
>To clarify: don't use ELF relocations at all. Instead, put the
>required information in a special section. That way the information
>can be backend-independent. (You can use the ELF relocation format if
>you like, but something other format would probably be fine too).
Precisely. Thanks for clarifying.
jeff
More information about the Binutils
mailing list