This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Why are there 2 continous R_MIPS_HI16 reloc entries in the ELF excutable?
- From: "Pan ruochen" <panruochen at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 13 Aug 2008 17:52:51 +0800
- Subject: Why are there 2 continous R_MIPS_HI16 reloc entries in the ELF excutable?
Hi All,
$mips-elf-readelf -r foo.out
Offset Info Type Sym.Value Sym. Name
00000328 00009005 R_MIPS_HI16 0000004c write_buf
0000033c 00009005 R_MIPS_HI16 0000004c write_buf
But the spec says:
|--------------------------------------------------------------------------|
| Each relocation type of R_MIPS_HI16 must have an associated |
| R_MIPS_LO16 entry immediately following it in the list of relocations. |
|--------------------------------------------------------------------------|
What's wrong about it?
------------
Best Regards
PRC
Aug 13, 2008