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]

Re: bfd/elf.c : bfd_seek to 0 valid ?


Alan Modra wrote:
On Thu, Nov 07, 2002 at 04:11:17PM +0100, jeroen dobbelaere wrote:

I have the impression, that for some reason, the .rel.dyn section does not
get a fileposition assigned (resulting in the hdr->sh_offset == 0).

Where should this mapping to the output bfd happen ?

_bfd_elf_assign_file_positions_for_relocs

When I add a printf for the section name here (when one is available),
'.rel.dyn' does not show up here :(
Also, its shdr does not show up.
(But there are three headers at the end without
a bfd_section associated).

Another section which does show up here is '.rel.plt'.

This one is created right behind the '.rel.dyn' section (traced in 'bfd_make_section')...

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]