diff options
author | Nick Clifton <nickc@redhat.com> | 2018-06-12 12:45:49 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-06-12 12:45:49 +0100 |
commit | d89c18895bfdbf092ff34fd7c593cdab4105b5cc (patch) | |
tree | 1efd218c9fda168afc0178f4cbac02cdcaacbab1 | |
parent | 7b23e0874de0b15fdb33fdd2e8c3563ff67a4f60 (diff) | |
download | gdb-d89c18895bfdbf092ff34fd7c593cdab4105b5cc.zip gdb-d89c18895bfdbf092ff34fd7c593cdab4105b5cc.tar.gz gdb-d89c18895bfdbf092ff34fd7c593cdab4105b5cc.tar.bz2 |
Fix syntax error in AArch64 default linker scripts when invoked with -shared.
* emulparams/aarch64elf.sh (OTHER_BSS_END_SYMBOLS): Make the
definition of the __bss_end__ symbol conditional upon CREATE_SHLIB.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emulparams/aarch64elf.sh | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 02b0563..d8e6a3f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2018-06-12 Nick Clifton <nickc@redhat.com> + + * emulparams/aarch64elf.sh (OTHER_BSS_END_SYMBOLS): Make the + definition of the __bss_end__ symbol conditional upon CREATE_SHLIB. + 2018-06-11 Nick Clifton <nickc@redhat.com> * po/es.po: Updated Spanish translation. diff --git a/ld/emulparams/aarch64elf.sh b/ld/emulparams/aarch64elf.sh index deea7b4..4a59342 100644 --- a/ld/emulparams/aarch64elf.sh +++ b/ld/emulparams/aarch64elf.sh @@ -29,7 +29,7 @@ DATA_START_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__data_start = .${CREATE_SHLIB+)};" NO_SMALL_DATA=yes OTHER_BSS_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__bss_start__ = .${CREATE_SHLIB+)};" -OTHER_BSS_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_bss_end__ = .${CREATE_SHLIB+)}; __bss_end__ = .${CREATE_SHLIB+)};" +OTHER_BSS_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_bss_end__ = .${CREATE_SHLIB+)}; ${CREATE_SHLIB+PROVIDE (}__bss_end__ = .${CREATE_SHLIB+)};" OTHER_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__end__ = .${CREATE_SHLIB+)};" OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }' |