xref: /minix3/external/gpl3/binutils/patches/0010-armelf_minix-update.patch (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambucdiff -rNU3 dist.orig/ld/emulparams/armelf_minix.sh dist/ld/emulparams/armelf_minix.sh
2*0a6a1f1dSLionel Sambuc--- dist.orig/ld/emulparams/armelf_minix.sh	2015-12-20 16:45:57.000000000 +0100
3*0a6a1f1dSLionel Sambuc+++ dist/ld/emulparams/armelf_minix.sh	2016-01-13 13:21:27.000000000 +0100
4*0a6a1f1dSLionel Sambuc@@ -3,13 +3,19 @@
5*0a6a1f1dSLionel Sambuc OUTPUT_FORMAT="elf32-littlearm"
6*0a6a1f1dSLionel Sambuc MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
7*0a6a1f1dSLionel Sambuc COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
8*0a6a1f1dSLionel Sambuc-
9*0a6a1f1dSLionel Sambuc-DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
10*0a6a1f1dSLionel Sambuc+TEXT_START_ADDR=0x00010000
11*0a6a1f1dSLionel Sambuc
12*0a6a1f1dSLionel Sambuc # Dynamic libraries support
13*0a6a1f1dSLionel Sambuc-GENERATE_SHLIB_SCRIPT=yes
14*0a6a1f1dSLionel Sambuc TARGET2_TYPE=got-rel
15*0a6a1f1dSLionel Sambuc
16*0a6a1f1dSLionel Sambuc-GENERATE_PIE_SCRIPT=yes
17*0a6a1f1dSLionel Sambuc-
18*0a6a1f1dSLionel Sambuc unset EMBEDDED
19*0a6a1f1dSLionel Sambuc+unset DATA_START_SYMBOLS
20*0a6a1f1dSLionel Sambuc+unset STACK_ADDR
21*0a6a1f1dSLionel Sambuc+
22*0a6a1f1dSLionel Sambuc+# Use the ARM ABI-compliant exception-handling sections.
23*0a6a1f1dSLionel Sambuc+OTHER_READONLY_SECTIONS="
24*0a6a1f1dSLionel Sambuc+  .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
25*0a6a1f1dSLionel Sambuc+  ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); }
26*0a6a1f1dSLionel Sambuc+  .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
27*0a6a1f1dSLionel Sambuc+  ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }"
28*0a6a1f1dSLionel Sambuc+
29