This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Biutils compatilibility breakage in 2.24 for PPC
- From: "alexandru dot sardan at freescale dot com" <alexandru dot sardan at freescale dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 9 Apr 2014 13:54:42 +0000
- Subject: Biutils compatilibility breakage in 2.24 for PPC
- Authentication-results: sourceware.org; auth=none
Hello,
While trying to link the kernel with the latest binutils (2.24) I get the following errors:
| /local/workspace/yocto-sdk-build/master/p5040ds-64b/linux/arch/powerpc/kernel/exceptions-64e.S:505:(.text+0x151b2): relocation truncated to fit: R_PPC64_ADDR16_HI against symbol `interrupt_base_book3e' defined in .text section in arch/powerpc/kernel/built-in.o
| /local/workspace/yocto-sdk-build/master/p5040ds-64b/linux/arch/powerpc/kernel/exceptions-64e.S:506:(.text+0x151c6): relocation truncated to fit: R_PPC64_ADDR16_HI against symbol `interrupt_end_book3e' defined in .text section in arch/powerpc/kernel/built-in.o
| arch/powerpc/kernel/built-in.o: In function `exc_debug_debug_book3e':
| /local/workspace/yocto-sdk-build/master/p5040ds-64b/linux/arch/powerpc/kernel/exceptions-64e.S:571:(.text+0x1537e): relocation truncated to fit: R_PPC64_ADDR16_HI against symbol `interrupt_base_book3e' defined in .text section in arch/powerpc/kernel/built-in.o
| /local/workspace/yocto-sdk-build/master/p5040ds-64b/linux/arch/powerpc/kernel/exceptions-64e.S:572:(.text+0x15392): relocation truncated to fit: R_PPC64_ADDR16_HI against symbol `interrupt_end_book3e' defined in .text section in arch/powerpc/kernel/built-in.o
| arch/powerpc/kernel/built-in.o: In function `skpinv':
| /local/workspace/yocto-sdk-build/master/p5040ds-64b/linux/arch/powerpc/kernel/exceptions-64e.S:1110:(.text+0x16156): relocation truncated to fit: R_PPC64_ADDR16_HI against `.text'+16170
| arch/powerpc/kernel/built-in.o: In function `a2_tlbinit_after_linear_map':
| /local/workspace/yocto-sdk-build/master/p5040ds-64b/linux/arch/powerpc/kernel/exceptions-64e.S:1176:(.text+0x161f6): relocation truncated to fit: R_PPC64_ADDR16_HI against `.text'+16204
| arch/powerpc/kernel/built-in.o: In function `.init_core_book3e':
| /local/workspace/yocto-sdk-build/master/p5040ds-64b/linux/arch/powerpc/kernel/exceptions-64e.S:1365:(.text+0x16312): relocation truncated to fit: R_PPC64_ADDR16_HI against symbol `interrupt_base_book3e' defined in .text section in arch/powerpc/kernel/built-in.o
| arch/powerpc/kernel/built-in.o: In function `.fsl_enable_threads':
| /local/workspace/yocto-sdk-build/master/p5040ds-64b/linux/arch/powerpc/kernel/exceptions-64e.S:1394:(.text+0x1636e): relocation truncated to fit: R_PPC64_ADDR16_HI against symbol `.fsl_secondary_thread_init' defined in .text section in arch/powerpc/kernel/head_64.o
This is caused by this patch [1] that changed the behavior of @h and @ha that are currently used by the kernel.
Is there any plan to revert this in the future and maybe introduce another modifier that does the desired job?
Thanks,
Alex
[1] https://sourceware.org/ml/binutils/2013-10/msg00372.html