2001-10-10 Chris Demetriou <cgd@broadcom.com>

* emultempl/elf32.em: Fix shell 'if' usage for portability.
This commit is contained in:
Chris Demetriou 2001-10-10 23:05:55 +00:00
parent 4eab1e18e9
commit 61585df298
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-10-10 Chris Demetriou <cgd@broadcom.com>
* emultempl/elf32.em: Fix shell 'if' usage for portability.
2001-10-08 Aldy Hernandez <aldyh@redhat.com>
* configure.tgt (targ): Add arm9e-*-elf.

View File

@ -1349,7 +1349,7 @@ echo ' ; else if (link_info.relocateable == true) return' >> e${EMULATION_NAME}
sed $sc ldscripts/${EMULATION_NAME}.xr >> e${EMULATION_NAME}.c
echo ' ; else if (!config.text_read_only) return' >> e${EMULATION_NAME}.c
sed $sc ldscripts/${EMULATION_NAME}.xbn >> e${EMULATION_NAME}.c
if ! cmp -s ldscripts/${EMULATION_NAME}.x ldscripts/${EMULATION_NAME}.xn; then
if cmp -s ldscripts/${EMULATION_NAME}.x ldscripts/${EMULATION_NAME}.xn; then : ; else
echo ' ; else if (!config.magic_demand_paged) return' >> e${EMULATION_NAME}.c
sed $sc ldscripts/${EMULATION_NAME}.xn >> e${EMULATION_NAME}.c
fi