BFD Question ?

Koundinya K knk@dde.dk
Fri Mar 10 02:38:00 GMT 2000


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



More information about the Binutils mailing list