GNU Binutils with patches for OS216
Révision | 8a46e447a88d2577f4344d373b521eb6905cb869 (tree) |
---|---|
l'heure | 2019-11-08 19:37:43 |
Auteur | Alan Modra <amodra@gmai...> |
Commiter | Alan Modra |
Revert "GENERATE_SHLIB_SCRIPT vs. EMBEDDED."
This reverts commit f2aaebdb97977ee7a5c83c02af871e758e7d594b.
My reasons for making that change were just plain wrong.
@@ -1,3 +1,20 @@ | ||
1 | +2019-11-08 Alan Modra <amodra@gmail.com> | |
2 | + | |
3 | + * emulparams/aarch64elf.sh: Revert 2019-11-05 change. | |
4 | + * emulparams/aarch64elf32.sh: Likewise. | |
5 | + * emulparams/arcelf.sh: Likewise. | |
6 | + * emulparams/armelf.sh: Likewise. | |
7 | + * emulparams/armelf_fbsd.sh: Likewise. | |
8 | + * emulparams/armelf_nbsd.sh: Likewise. | |
9 | + * emulparams/armelf_vxworks.sh: Likewise. | |
10 | + * emulparams/armsymbian.sh: Likewise. | |
11 | + * emulparams/elf32bfin.sh: Likewise. | |
12 | + * emulparams/elf32microblaze.sh: Likewise. | |
13 | + * emulparams/score3_elf.sh: Likewise. | |
14 | + * emulparams/shelf.sh: Likewise. | |
15 | + * emulparams/shelf_nbsd.sh: Likewise. | |
16 | + * emulparams/shelf_uclinux.sh: Likewise. | |
17 | + | |
1 | 18 | 2019-11-07 Alan Modra <amodra@gmail.com> |
2 | 19 | |
3 | 20 | * emulparams/elf32cr16c.sh: Delete. |
@@ -12,6 +12,9 @@ NO_REL_RELOCS=yes | ||
12 | 12 | TEMPLATE_NAME=elf |
13 | 13 | EXTRA_EM_FILE=aarch64elf |
14 | 14 | |
15 | +GENERATE_SHLIB_SCRIPT=yes | |
16 | +GENERATE_PIE_SCRIPT=yes | |
17 | + | |
15 | 18 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
16 | 19 | |
17 | 20 | ENTRY=_start |
@@ -12,6 +12,9 @@ NO_REL_RELOCS=yes | ||
12 | 12 | TEMPLATE_NAME=elf |
13 | 13 | EXTRA_EM_FILE=aarch64elf |
14 | 14 | |
15 | +GENERATE_SHLIB_SCRIPT=yes | |
16 | +GENERATE_PIE_SCRIPT=yes | |
17 | + | |
15 | 18 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
16 | 19 | |
17 | 20 | ENTRY=_start |
@@ -19,3 +19,5 @@ SDATA_START_SYMBOLS='__SDATA_BEGIN__ = . + 0x100;' | ||
19 | 19 | JLI_START_TABLE='__JLI_TABLE__ = .;' |
20 | 20 | OTHER_SECTIONS="/DISCARD/ : { *(.__arc_profile_*) }" |
21 | 21 | EMBEDDED=yes |
22 | + | |
23 | +GENERATE_SHLIB_SCRIPT=yes |
@@ -32,6 +32,9 @@ OTHER_READONLY_SECTIONS=" | ||
32 | 32 | |
33 | 33 | DATA_START_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__data_start = .${CREATE_SHLIB+)};" |
34 | 34 | |
35 | +GENERATE_SHLIB_SCRIPT=yes | |
36 | +GENERATE_PIE_SCRIPT=yes | |
37 | + | |
35 | 38 | ARCH=arm |
36 | 39 | MACHINE= |
37 | 40 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
@@ -5,7 +5,7 @@ TEXT_START_ADDR=0x00010000 | ||
5 | 5 | |
6 | 6 | TARGET2_TYPE=got-rel |
7 | 7 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
8 | -GENERATE_SHLIB_SCRIPT=yes | |
9 | 8 | GENERATE_PIE_SCRIPT=yes |
9 | + | |
10 | 10 | unset STACK_ADDR |
11 | 11 | unset EMBEDDED |
@@ -3,7 +3,5 @@ MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" | ||
3 | 3 | TEXT_START_ADDR=0x00008000 |
4 | 4 | TARGET2_TYPE=got-rel |
5 | 5 | |
6 | -GENERATE_SHLIB_SCRIPT=yes | |
7 | -GENERATE_PIE_SCRIPT=yes | |
8 | 6 | unset STACK_ADDR |
9 | 7 | unset EMBEDDED |
@@ -4,4 +4,3 @@ BIG_OUTPUT_FORMAT="elf32-bigarm-vxworks" | ||
4 | 4 | LITTLE_OUTPUT_FORMAT="$OUTPUT_FORMAT" |
5 | 5 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
6 | 6 | source_sh ${srcdir}/emulparams/vxworks.sh |
7 | -GENERATE_SHLIB_SCRIPT=yes |
@@ -8,8 +8,6 @@ TARGET1_IS_REL=1 | ||
8 | 8 | TARGET2_TYPE=abs |
9 | 9 | # On BPABI systems, program headers should not be mapped. |
10 | 10 | EMBEDDED=yes |
11 | -# Nonetheless, shared libraries are also supported | |
12 | -GENERATE_SHLIB_SCRIPT=yes | |
13 | 11 | |
14 | 12 | # As for armelf.sh, but add the SymbianOS-specific |
15 | 13 | # .ARM.exidx$${Base,Limit} symbols. |
@@ -6,6 +6,7 @@ TARGET_PAGE_SIZE=0x1000 | ||
6 | 6 | ARCH=bfin |
7 | 7 | MACHINE= |
8 | 8 | TEMPLATE_NAME=elf |
9 | +GENERATE_SHLIB_SCRIPT=yes | |
9 | 10 | EMBEDDED=yes |
10 | 11 | USER_LABEL_PREFIX=_ |
11 | 12 | EXTRA_EM_FILE=bfin |
@@ -21,3 +21,6 @@ NOP=0x80000000 | ||
21 | 21 | #OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = _end + 0x1000);' |
22 | 22 | |
23 | 23 | TEMPLATE_NAME=elf |
24 | +#GENERATE_SHLIB_SCRIPT=yes | |
25 | + | |
26 | + |
@@ -26,3 +26,4 @@ ARCH=score3 | ||
26 | 26 | MACHINE= |
27 | 27 | ENTRY=_start |
28 | 28 | EMBEDDED=yes |
29 | +GENERATE_SHLIB_SCRIPT=yes |
@@ -9,6 +9,7 @@ MAXPAGESIZE=128 | ||
9 | 9 | ARCH=sh |
10 | 10 | MACHINE= |
11 | 11 | TEMPLATE_NAME=elf |
12 | +GENERATE_SHLIB_SCRIPT=yes | |
12 | 13 | EMBEDDED=yes |
13 | 14 | # These are for compatibility with the COFF toolchain. |
14 | 15 | ENTRY=start |
@@ -11,7 +11,5 @@ DATA_START_SYMBOLS='PROVIDE (__data_start = .);'; | ||
11 | 11 | |
12 | 12 | ENTRY=_start |
13 | 13 | |
14 | -GENERATE_SHLIB_SCRIPT=yes | |
15 | -GENERATE_PIE_SCRIPT=yes | |
16 | 14 | unset EMBEDDED |
17 | 15 | unset STACK_ADDR |
@@ -2,4 +2,3 @@ source_sh ${srcdir}/emulparams/shelf.sh | ||
2 | 2 | |
3 | 3 | # We do not want a .stack section |
4 | 4 | unset STACK_ADDR |
5 | -GENERATE_SHLIB_SCRIPT=yes |