Why does ELF/alpha put none-text relocations in .rela.text?

H . J . Lu hjl@lucon.org
Mon Aug 20 11:44:00 GMT 2001


When you do

# gcc -c foo.c

on ELF/alpha, as will put relocations for ".debug_line" in
.rela.text. When you do

# strip --strip-debug foo.o
# readelf -r foo.o

you will get

 00000000  200569c000000006 R_ALPHA_GPDISP        bad symbol index: 200569c0

How should we fix it?


H.J.



More information about the Binutils mailing list