This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
BFD Question ?
- To: binutils at sourceware dot cygnus dot com
- Subject: BFD Question ?
- From: Koundinya K <knk at dde dot dk>
- Date: Fri, 10 Mar 2000 11:40:11 -0700
- Organization: DDE
Hi,
I would like to know, if there is any BFD function already available
to read the relocation table from a bfd. Basically I am trying to sort
the entries of the dynamic relocation section in *_final_link() . I have
all other information on hand required for qsort() like no of elements
to sort, width of each element , comparison function. The only thing
that I am not getting to know is how to read the relocation table.
I have tried many approaches, but I am still not able to get through
this for the past 2 days. I have even tried to use
_bfd_elf32_link_read_relocs(), but had no luck with that too !!.
Any pointers or info on how this can be done will be helpful ?
Thanks
koundinya