This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Can I ask where the used .gcc_except_table.* sections _are_ meant to be marked? I cannot see anywhere that _bfd_elf_discard_section_eh_frame does it, for example.
The (patched) compiler will mark them.
Why would .gcc_except_table.* get marked, but .rodata not get marked for
powerpc?
Clearly .rodata needs to be explicitly KEEPed for your powerpc target, the same way .gcc_except_table has been marked as KEEP for generic ELF.
Separately, I still consider it an issue to break existing linker scripts (and the failure mode is very obscure and difficult to track down when you encounter it, I can tell you!).
The alternative is a useless -function-sections --gc-sections with DWARF-2 EH.
Jifl -- eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts --["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |