PR 5215
* genscripts.sh: Move bash script to.. * genscrba.sh: ..here.
This commit is contained in:
parent
765f54e9fd
commit
c43cc9ffba
3 changed files with 22 additions and 14 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-10-26 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
PR 5215
|
||||||
|
* genscripts.sh: Move bash script to..
|
||||||
|
* genscrba.sh: ..here.
|
||||||
|
|
||||||
2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt>
|
2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||||
|
|
||||||
* pe-dll.c (autofilter_symbollist_generic)
|
* pe-dll.c (autofilter_symbollist_generic)
|
||||||
|
@ -45,7 +51,7 @@
|
||||||
2007-10-01 Nick Clifton <nickc@redhat.com>
|
2007-10-01 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR linker/4844
|
PR linker/4844
|
||||||
* genscript.sh: Add support for generating a .xa script for use
|
* genscripts.sh: Add support for generating a .xa script for use
|
||||||
with the --auto-import option.
|
with the --auto-import option.
|
||||||
* ld.texinfo: Document the new behaviour of the --auto-import
|
* ld.texinfo: Document the new behaviour of the --auto-import
|
||||||
option.
|
option.
|
||||||
|
|
14
ld/genscrba.sh
Normal file
14
ld/genscrba.sh
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
source_em()
|
||||||
|
{
|
||||||
|
local current_script="$em_script"
|
||||||
|
em_script=$1
|
||||||
|
. $em_script
|
||||||
|
em_script=$current_script
|
||||||
|
}
|
||||||
|
fragment()
|
||||||
|
{
|
||||||
|
local lineno=$[${BASH_LINENO[0]} + 1]
|
||||||
|
echo >> e${EMULATION_NAME}.c "#line $lineno \"$em_script\""
|
||||||
|
cat >> e${EMULATION_NAME}.c
|
||||||
|
}
|
|
@ -402,19 +402,7 @@ case " $EMULATION_LIBPATH " in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test -n "${BASH+set}"; then
|
if test -n "${BASH+set}"; then
|
||||||
source_em()
|
. ${srcdir}/genscrba.sh
|
||||||
{
|
|
||||||
local current_script="$em_script"
|
|
||||||
em_script=$1
|
|
||||||
. $em_script
|
|
||||||
em_script=$current_script
|
|
||||||
}
|
|
||||||
fragment()
|
|
||||||
{
|
|
||||||
local lineno=$[${BASH_LINENO[0]} + 1]
|
|
||||||
echo >> e${EMULATION_NAME}.c "#line $lineno \"$em_script\""
|
|
||||||
cat >> e${EMULATION_NAME}.c
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
source_em()
|
source_em()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue