diff options
author | Alan Modra <amodra@gmail.com> | 2014-01-17 10:39:50 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-01-17 10:41:49 +1030 |
commit | 7225345dbbe39f61b1c7e52732b621cfb1d830c5 (patch) | |
tree | 3ab1e206ca2bc2dce63bbf935929f6055f42e4c6 /ld/emulparams | |
parent | 40ed484e74e74fa116095eaf29e44b1cfee58811 (diff) | |
download | gdb-7225345dbbe39f61b1c7e52732b621cfb1d830c5.zip gdb-7225345dbbe39f61b1c7e52732b621cfb1d830c5.tar.gz gdb-7225345dbbe39f61b1c7e52732b621cfb1d830c5.tar.bz2 |
Allow ld target customiser script to force on disk scripts.
Mucking with EMULATION_LIBPATH has unwanted side effects. Allow nds32
emulparams scripts to disable compiled-in scripts naturally, by
setting COMPILE_IN=no.
* genscripts.sh (COMPILE_IN): Don't set if already set.
* emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
COMPILE_IN=no.
* emulparams/nds32elf16m.sh: Likewise.
* emulparams/nds32elf_linux.sh: Likewise.
* emultempl/aix.em: Test COMPILE_IN value is "yes".
* emultempl/armcoff.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/generic.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/nds32elf.sh | 5 | ||||
-rw-r--r-- | ld/emulparams/nds32elf16m.sh | 5 | ||||
-rw-r--r-- | ld/emulparams/nds32elf_linux.sh | 5 |
3 files changed, 6 insertions, 9 deletions
diff --git a/ld/emulparams/nds32elf.sh b/ld/emulparams/nds32elf.sh index c12048d..f0a7c31 100644 --- a/ld/emulparams/nds32elf.sh +++ b/ld/emulparams/nds32elf.sh @@ -14,6 +14,5 @@ MAXPAGESIZE=0x20 EMBEDDED=yes COMMONPAGESIZE=0x20 -# Instruct genscripts.sh not to compile scripts in by COMPILE_IN -# in order to use external linker scripts files. -EMULATION_LIBPATH= +# Use external linker script files. +COMPILE_IN=no diff --git a/ld/emulparams/nds32elf16m.sh b/ld/emulparams/nds32elf16m.sh index 7d3b063..deb8699 100644 --- a/ld/emulparams/nds32elf16m.sh +++ b/ld/emulparams/nds32elf16m.sh @@ -14,6 +14,5 @@ MAXPAGESIZE=0x20 EMBEDDED=yes COMMONPAGESIZE=0x20 -# Instruct genscripts.sh not to compile scripts in by COMPILE_IN -# in order to use external linker scripts files. -EMULATION_LIBPATH= +# Use external linker script files. +COMPILE_IN=no diff --git a/ld/emulparams/nds32elf_linux.sh b/ld/emulparams/nds32elf_linux.sh index 6d89f79..1145c0e 100644 --- a/ld/emulparams/nds32elf_linux.sh +++ b/ld/emulparams/nds32elf_linux.sh @@ -31,6 +31,5 @@ fi GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes -# Instruct genscripts.sh not to compile scripts in by COMPILE_IN -# in order to use external linker scripts files. -EMULATION_LIBPATH= +# Use external linker script files. +COMPILE_IN=no |