This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Why does ELF/alpha put none-text relocations in .rela.text?
- To: rth at redhat dot com
- Subject: Why does ELF/alpha put none-text relocations in .rela.text?
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Mon, 20 Aug 2001 11:44:19 -0700
- Cc: binutils at sourceware dot cygnus dot com
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.