Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/dist/ld/emulparams Reapply the follow...
details: https://anonhg.NetBSD.org/src/rev/a79bd5f437ff
branches: trunk
changeset: 952877:a79bd5f437ff
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Feb 20 14:48:07 2021 +0000
description:
Reapply the following change - Simon's first attempt had a missing ';'
release builds done for cobalt and evbmips64-eb
Provide an __eprol symbol in TEXT_START_SYMBOLS. MIPS overrides
TEXT_START_SYMBOLS so it misses out on the default definition of
this that does provide an __eprol symbol. Fixes linking of profiled
binaries.
diffstat:
external/gpl3/binutils/dist/ld/emulparams/elf32bmip.sh | 2 +-
external/gpl3/binutils/dist/ld/emulparams/elf32bmipn32-defs.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r c55cb08f2c9f -r a79bd5f437ff external/gpl3/binutils/dist/ld/emulparams/elf32bmip.sh
--- a/external/gpl3/binutils/dist/ld/emulparams/elf32bmip.sh Sat Feb 20 13:31:35 2021 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/elf32bmip.sh Sat Feb 20 14:48:07 2021 +0000
@@ -56,7 +56,7 @@
.lit8 ${RELOCATING-0} : { *(.lit8) }
.lit4 ${RELOCATING-0} : { *(.lit4) }
"
-TEXT_START_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_ftext = .${CREATE_SHLIB+)};"
+TEXT_START_SYMBOLS="PROVIDE_HIDDEN (__eprol = .); ${CREATE_SHLIB+PROVIDE (}_ftext = .${CREATE_SHLIB+)};"
DATA_START_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_fdata = .${CREATE_SHLIB+)};"
OTHER_BSS_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_fbss = .${CREATE_SHLIB+)};"
OTHER_SECTIONS="
diff -r c55cb08f2c9f -r a79bd5f437ff external/gpl3/binutils/dist/ld/emulparams/elf32bmipn32-defs.sh
--- a/external/gpl3/binutils/dist/ld/emulparams/elf32bmipn32-defs.sh Sat Feb 20 13:31:35 2021 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/elf32bmipn32-defs.sh Sat Feb 20 14:48:07 2021 +0000
@@ -78,7 +78,7 @@
"
# Magic symbols.
-TEXT_START_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_ftext = .${CREATE_SHLIB+)};"
+TEXT_START_SYMBOLS="PROVIDE_HIDDEN (__eprol = .); ${CREATE_SHLIB+PROVIDE (}_ftext = .${CREATE_SHLIB+)};"
DATA_START_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_fdata = .${CREATE_SHLIB+)};"
OTHER_BSS_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_fbss = .${CREATE_SHLIB+)};"
Home |
Main Index |
Thread Index |
Old Index