https://sourceware.org/bugzilla/show_bug.cgi?id=21523
--- Comment #3 from clegg89 at gmail dot com --- Created attachment 10071 --> https://sourceware.org/bugzilla/attachment.cgi?id=10071&action=edit Test Case The object file test.o contains two relocations, both of type R_ARM_THM_ALU_PREL_11_0, as can be seen by arm-none-eabi-objdump: arm-none-eabi-objdump -rd test.o: test.o: file format elf32-littlearm Disassembly of section .text: 00000000 <getOtherValue>: 0: f2af 0004 subw r0, pc, #4 0: R_ARM_THM_ALU_PREL_11_0 aValue 4: 4770 bx lr ... 00000008 <aValue>: 8: 6854 7369 6920 2073 2061 6574 7473 000a This is a test.. 00000018 <getValue>: 18: f2af 0004 subw r0, pc, #4 18: R_ARM_THM_ALU_PREL_11_0 aValue 1c: 4770 bx lr When attempting to link this object file, the first relocation (in getOtherValue) is performed without issue. However, the second relocation (in getValue) throws an error: test.o: In function `getValue': test:(.text+0x18): relocation truncated to fit: R_ARM_THM_ALU_PREL_11_0 against symbol `aValue' defined in .text section in test.o Details on how to build the project can be found in README.md -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils