R_MIPS_16 is incorrectly handled when at a half-word offset:
See below:
00000000 <structure>:
8: 00000001 movf zero,zero,$fcc0
c: 00000130 tge zero,zero,0x4
...
10: R_MIPS_32 kdebug_init()
14: R_MIPS_32 kdebug_entry(void*)
50: R_MIPS_32 _memory_descriptors_offset
56: R_MIPS_16 _memory_descriptors_size
a4: 0000003f 0x3f
After linking, the values that should be at offset 0x56, is actually placed at
0x60 in the elf output.
--
Summary: Mips R_MIPS_16 relocation incorrectly handled
Product: binutils
Version: 2.15
Status: NEW
Severity: critical
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: navlrac at hotmail dot com
CC: bug-binutils at gnu dot org
GCC host triplet: ia32-linux
GCC target triplet: mips-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=3243
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils