Allow ld target customiser script to force on disk scripts.
authorAlan Modra <amodra@gmail.com>
Fri, 17 Jan 2014 00:09:50 +0000 (10:39 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 17 Jan 2014 00:11:49 +0000 (10:41 +1030)
commit7225345dbbe39f61b1c7e52732b621cfb1d830c5
tree3ab1e206ca2bc2dce63bbf935929f6055f42e4c6
parent40ed484e74e74fa116095eaf29e44b1cfee58811
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.
16 files changed:
ld/ChangeLog
ld/emulparams/nds32elf.sh
ld/emulparams/nds32elf16m.sh
ld/emulparams/nds32elf_linux.sh
ld/emultempl/aix.em
ld/emultempl/armcoff.em
ld/emultempl/elf32.em
ld/emultempl/generic.em
ld/emultempl/gld960.em
ld/emultempl/gld960c.em
ld/emultempl/linux.em
ld/emultempl/lnk960.em
ld/emultempl/m68kcoff.em
ld/emultempl/sunos.em
ld/emultempl/ticoff.em
ld/genscripts.sh