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] |
Richard Earnshaw wrote:
And here is what we do when a section is 'stripped' : if (strip) { asection ** spp; printf("JDO: stripping %p '%s' (out %p '%s')\n", s, s->name, s->output_section, s->output_section->name); for (spp = &s->output_section->owner->sections; *spp != NULL; spp = &(*spp)->next) { if (*spp == s->output_section) { bfd_section_list_remove (s->output_section->owner, spp); --s->output_section->owner->section_count; break; } } continue; } ALL sections with the same output_section are being stripped ! this can't be correct ??
Sorry about being wrong about this : it is the output section itself that is being stripped at this point : '.rel.dyn' (in my case) Forcing the strip to be never done resolves the problem I see. ( 'if(0 && strip)' )
Hmm, maybe we should be doing this the same way the x86 code does; ie by calling _bfd_strip_section_from_output()
R.
I'll try this one. Greetings, -- Jeroen Dobbelaere Embedded Software Engineer ACUNIA Embedded Solutions http://www.acunia.com/aes
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |