Reading section headers
Alan Modra
amodra@bigpond.net.au
Thu Nov 1 08:51:00 GMT 2001
More information about the Binutils mailing list
Thu Nov 1 08:51:00 GMT 2001
- Previous message (by thread): PATCH: New ld discard test
- Next message (by thread): More i386 architectures?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Nov 09, 2001 at 03:13:41PM +0000, Peter.Targett@arccores.com wrote: > In relocatable files I'm using the (preferred?) function bfd_map_over_sections > () to try and read sections like this: > > Section #2: .arcextmap.aux.512, type=COMDAT, addr=0x0, off=0x80 > size=10(0xa), link=4, info=0, align=1, entsize=1 > flags=<ALLOC> > > However this section must be considered 'internal', so I never get a hook into it? Do I have to use a process similar to that found in readelf.c: > get_32bit_section_headers (), or is there a better approach? Well, bfd_map_over_sections will only return sections for the given bfd. Perhaps you need to find the right bfd? Alan
- Previous message (by thread): PATCH: New ld discard test
- Next message (by thread): More i386 architectures?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list