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/emultempl/aix.em | |
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/emultempl/aix.em')
-rw-r--r-- | ld/emultempl/aix.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em index aa72ce6..084bb66 100644 --- a/ld/emultempl/aix.em +++ b/ld/emultempl/aix.em @@ -1399,7 +1399,7 @@ static char * gld${EMULATION_NAME}_get_script (int *isfile) EOF -if test -n "$COMPILE_IN" +if test x"$COMPILE_IN" = xyes then # Scripts compiled in. |