This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] More aggressive --gc-sections
> 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).
I'm under the impression that ELF is required anyway (the scheme relies on
the optimization implemented in elf-eh-frame.c to untangle the EH mess).
--
Eric Botcazou