This is the mail archive of the binutils@sourceware.org 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]

BFD (mips-elf): Reading relocation entries in user program


Hey,

I've been sifting through documentation on the BFD library in hopes of
finding an interface for reading the relocations of a section/file
(since I noticed various relocation types are defined in "bfd.h").
This doesn't seem to be possible, though - I'm guessing due to BFD's
goal of abstraction.

Still, I love BFD's programming interface, and I prefer it over
libelf, which is quite clunky. Is there a simple - albeit possibly
hacky - way to get at the relocation entries in an ELF file through
BFD? Hopefully I won't have to end up using some strange combination
of BFD and libelf...

Regards,
Marshall


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]