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 | |
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')
-rw-r--r-- | ld/emultempl/aix.em | 2 | ||||
-rw-r--r-- | ld/emultempl/armcoff.em | 2 | ||||
-rw-r--r-- | ld/emultempl/elf32.em | 2 | ||||
-rw-r--r-- | ld/emultempl/generic.em | 2 | ||||
-rw-r--r-- | ld/emultempl/gld960.em | 2 | ||||
-rw-r--r-- | ld/emultempl/gld960c.em | 2 | ||||
-rw-r--r-- | ld/emultempl/linux.em | 2 | ||||
-rw-r--r-- | ld/emultempl/lnk960.em | 2 | ||||
-rw-r--r-- | ld/emultempl/m68kcoff.em | 2 | ||||
-rw-r--r-- | ld/emultempl/sunos.em | 2 | ||||
-rw-r--r-- | ld/emultempl/ticoff.em | 2 |
11 files changed, 11 insertions, 11 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. diff --git a/ld/emultempl/armcoff.em b/ld/emultempl/armcoff.em index 20bff14..7c90378 100644 --- a/ld/emultempl/armcoff.em +++ b/ld/emultempl/armcoff.em @@ -205,7 +205,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. diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 569c7f7..a4f04f1 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -2017,7 +2017,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. diff --git a/ld/emultempl/generic.em b/ld/emultempl/generic.em index dce2bff..53754f0 100644 --- a/ld/emultempl/generic.em +++ b/ld/emultempl/generic.em @@ -81,7 +81,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. diff --git a/ld/emultempl/gld960.em b/ld/emultempl/gld960.em index 4ba3eec..7e8552f 100644 --- a/ld/emultempl/gld960.em +++ b/ld/emultempl/gld960.em @@ -74,7 +74,7 @@ static char * gld960_get_script (int *isfile) EOF -if test -n "$COMPILE_IN" +if test x"$COMPILE_IN" = xyes then # Scripts compiled in. diff --git a/ld/emultempl/gld960c.em b/ld/emultempl/gld960c.em index 1999ea8..39fe1f2 100644 --- a/ld/emultempl/gld960c.em +++ b/ld/emultempl/gld960c.em @@ -87,7 +87,7 @@ static char * gld960_get_script (int *isfile) EOF -if test -n "$COMPILE_IN" +if test x"$COMPILE_IN" = xyes then # Scripts compiled in. diff --git a/ld/emultempl/linux.em b/ld/emultempl/linux.em index 61c7df4..5cf5bfa 100644 --- a/ld/emultempl/linux.em +++ b/ld/emultempl/linux.em @@ -131,7 +131,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. diff --git a/ld/emultempl/lnk960.em b/ld/emultempl/lnk960.em index e556d43..1951c36 100644 --- a/ld/emultempl/lnk960.em +++ b/ld/emultempl/lnk960.em @@ -268,7 +268,7 @@ static char * lnk960_get_script (int *isfile) EOF -if test -n "$COMPILE_IN" +if test x"$COMPILE_IN" = xyes then # Scripts compiled in. diff --git a/ld/emultempl/m68kcoff.em b/ld/emultempl/m68kcoff.em index f68866c..f34490d 100644 --- a/ld/emultempl/m68kcoff.em +++ b/ld/emultempl/m68kcoff.em @@ -165,7 +165,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. diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em index af11027..14bf5af 100644 --- a/ld/emultempl/sunos.em +++ b/ld/emultempl/sunos.em @@ -960,7 +960,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. diff --git a/ld/emultempl/ticoff.em b/ld/emultempl/ticoff.em index dff1d70..3b952a4 100644 --- a/ld/emultempl/ticoff.em +++ b/ld/emultempl/ticoff.em @@ -106,7 +106,7 @@ gld_${EMULATION_NAME}_before_parse(void) 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. |