relocation table: -Wl,--emit-relocs

Jorge PEREZ jorge.perez@invia.fr
Thu Aug 27 09:27:00 GMT 2009


Dear all,

I need to modify a program after it compilation using gcc, for that I
need the relocation table which I obtain using the option
-Wl,--emit-relocs and then I output using read(elf). The thing is that
in this relocation table only appear the relocation information for the
SETHI & CALL instructions but not the JMPL which I also need. Does
anyone know how can I obtain the relocation information for the JMPL and
other indirect jumps?

Thanks in advance,


George



More information about the Gcc-help mailing list