• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Révision8a46e447a88d2577f4344d373b521eb6905cb869 (tree)
l'heure2019-11-08 19:37:43
AuteurAlan Modra <amodra@gmai...>
CommiterAlan Modra

Message de Log

Revert "GENERATE_SHLIB_SCRIPT vs. EMBEDDED."

This reverts commit f2aaebdb97977ee7a5c83c02af871e758e7d594b.
My reasons for making that change were just plain wrong.

Change Summary

Modification

--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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+
118 2019-11-07 Alan Modra <amodra@gmail.com>
219
320 * emulparams/elf32cr16c.sh: Delete.
--- a/ld/emulparams/aarch64elf.sh
+++ b/ld/emulparams/aarch64elf.sh
@@ -12,6 +12,9 @@ NO_REL_RELOCS=yes
1212 TEMPLATE_NAME=elf
1313 EXTRA_EM_FILE=aarch64elf
1414
15+GENERATE_SHLIB_SCRIPT=yes
16+GENERATE_PIE_SCRIPT=yes
17+
1518 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
1619
1720 ENTRY=_start
--- a/ld/emulparams/aarch64elf32.sh
+++ b/ld/emulparams/aarch64elf32.sh
@@ -12,6 +12,9 @@ NO_REL_RELOCS=yes
1212 TEMPLATE_NAME=elf
1313 EXTRA_EM_FILE=aarch64elf
1414
15+GENERATE_SHLIB_SCRIPT=yes
16+GENERATE_PIE_SCRIPT=yes
17+
1518 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
1619
1720 ENTRY=_start
--- a/ld/emulparams/arcelf.sh
+++ b/ld/emulparams/arcelf.sh
@@ -19,3 +19,5 @@ SDATA_START_SYMBOLS='__SDATA_BEGIN__ = . + 0x100;'
1919 JLI_START_TABLE='__JLI_TABLE__ = .;'
2020 OTHER_SECTIONS="/DISCARD/ : { *(.__arc_profile_*) }"
2121 EMBEDDED=yes
22+
23+GENERATE_SHLIB_SCRIPT=yes
--- a/ld/emulparams/armelf.sh
+++ b/ld/emulparams/armelf.sh
@@ -32,6 +32,9 @@ OTHER_READONLY_SECTIONS="
3232
3333 DATA_START_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__data_start = .${CREATE_SHLIB+)};"
3434
35+GENERATE_SHLIB_SCRIPT=yes
36+GENERATE_PIE_SCRIPT=yes
37+
3538 ARCH=arm
3639 MACHINE=
3740 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
--- a/ld/emulparams/armelf_fbsd.sh
+++ b/ld/emulparams/armelf_fbsd.sh
@@ -5,7 +5,7 @@ TEXT_START_ADDR=0x00010000
55
66 TARGET2_TYPE=got-rel
77 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
8-GENERATE_SHLIB_SCRIPT=yes
98 GENERATE_PIE_SCRIPT=yes
9+
1010 unset STACK_ADDR
1111 unset EMBEDDED
--- a/ld/emulparams/armelf_nbsd.sh
+++ b/ld/emulparams/armelf_nbsd.sh
@@ -3,7 +3,5 @@ MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
33 TEXT_START_ADDR=0x00008000
44 TARGET2_TYPE=got-rel
55
6-GENERATE_SHLIB_SCRIPT=yes
7-GENERATE_PIE_SCRIPT=yes
86 unset STACK_ADDR
97 unset EMBEDDED
--- a/ld/emulparams/armelf_vxworks.sh
+++ b/ld/emulparams/armelf_vxworks.sh
@@ -4,4 +4,3 @@ BIG_OUTPUT_FORMAT="elf32-bigarm-vxworks"
44 LITTLE_OUTPUT_FORMAT="$OUTPUT_FORMAT"
55 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
66 source_sh ${srcdir}/emulparams/vxworks.sh
7-GENERATE_SHLIB_SCRIPT=yes
--- a/ld/emulparams/armsymbian.sh
+++ b/ld/emulparams/armsymbian.sh
@@ -8,8 +8,6 @@ TARGET1_IS_REL=1
88 TARGET2_TYPE=abs
99 # On BPABI systems, program headers should not be mapped.
1010 EMBEDDED=yes
11-# Nonetheless, shared libraries are also supported
12-GENERATE_SHLIB_SCRIPT=yes
1311
1412 # As for armelf.sh, but add the SymbianOS-specific
1513 # .ARM.exidx$${Base,Limit} symbols.
--- a/ld/emulparams/elf32bfin.sh
+++ b/ld/emulparams/elf32bfin.sh
@@ -6,6 +6,7 @@ TARGET_PAGE_SIZE=0x1000
66 ARCH=bfin
77 MACHINE=
88 TEMPLATE_NAME=elf
9+GENERATE_SHLIB_SCRIPT=yes
910 EMBEDDED=yes
1011 USER_LABEL_PREFIX=_
1112 EXTRA_EM_FILE=bfin
--- a/ld/emulparams/elf32microblaze.sh
+++ b/ld/emulparams/elf32microblaze.sh
@@ -21,3 +21,6 @@ NOP=0x80000000
2121 #OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = _end + 0x1000);'
2222
2323 TEMPLATE_NAME=elf
24+#GENERATE_SHLIB_SCRIPT=yes
25+
26+
--- a/ld/emulparams/score3_elf.sh
+++ b/ld/emulparams/score3_elf.sh
@@ -26,3 +26,4 @@ ARCH=score3
2626 MACHINE=
2727 ENTRY=_start
2828 EMBEDDED=yes
29+GENERATE_SHLIB_SCRIPT=yes
--- a/ld/emulparams/shelf.sh
+++ b/ld/emulparams/shelf.sh
@@ -9,6 +9,7 @@ MAXPAGESIZE=128
99 ARCH=sh
1010 MACHINE=
1111 TEMPLATE_NAME=elf
12+GENERATE_SHLIB_SCRIPT=yes
1213 EMBEDDED=yes
1314 # These are for compatibility with the COFF toolchain.
1415 ENTRY=start
--- a/ld/emulparams/shelf_nbsd.sh
+++ b/ld/emulparams/shelf_nbsd.sh
@@ -11,7 +11,5 @@ DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
1111
1212 ENTRY=_start
1313
14-GENERATE_SHLIB_SCRIPT=yes
15-GENERATE_PIE_SCRIPT=yes
1614 unset EMBEDDED
1715 unset STACK_ADDR
--- a/ld/emulparams/shelf_uclinux.sh
+++ b/ld/emulparams/shelf_uclinux.sh
@@ -2,4 +2,3 @@ source_sh ${srcdir}/emulparams/shelf.sh
22
33 # We do not want a .stack section
44 unset STACK_ADDR
5-GENERATE_SHLIB_SCRIPT=yes