From 61585df2987cf0a80e2b628fdf2613e28a5f3266 Mon Sep 17 00:00:00 2001 From: Chris Demetriou Date: Wed, 10 Oct 2001 23:05:55 +0000 Subject: [PATCH] 2001-10-10 Chris Demetriou * emultempl/elf32.em: Fix shell 'if' usage for portability. --- ld/ChangeLog | 4 ++++ ld/emultempl/elf32.em | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 448e2e3bbe2..02f6b74c559 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2001-10-10 Chris Demetriou + + * emultempl/elf32.em: Fix shell 'if' usage for portability. + 2001-10-08 Aldy Hernandez * configure.tgt (targ): Add arm9e-*-elf. diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 105795549a6..4264b6155ab 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -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 -- 2.30.2