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] | |
The code fragment at elf_gc_sections() is key to resurrecting my patch with 2.15.91.0.2:
if (!get_elf_backend_data (abfd)->can_gc_sections || info->relocatable || info->emitrelocations || info->shared || !is_elf_hash_table (info->hash)) { (*_bfd_error_handler)(_("Warning: gc-sections option ignored")); return TRUE; }
Can anyone shed any light as to why elf_gc_sections() cannot proceed if info->relocatable or info->emitrelocations is set?
Cheers Nick
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |