diff options
author | Chris Demetriou <cgd@google.com> | 2001-10-10 23:05:55 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2001-10-10 23:05:55 +0000 |
commit | 61585df2987cf0a80e2b628fdf2613e28a5f3266 (patch) | |
tree | 29ddcaaad749c4d39180fae2f27325b9ef1910cf /ld/emultempl | |
parent | 4eab1e18e948b6f7c97702389d55c6d069a6a8db (diff) | |
download | gdb-61585df2987cf0a80e2b628fdf2613e28a5f3266.zip gdb-61585df2987cf0a80e2b628fdf2613e28a5f3266.tar.gz gdb-61585df2987cf0a80e2b628fdf2613e28a5f3266.tar.bz2 |
2001-10-10 Chris Demetriou <cgd@broadcom.com>
* emultempl/elf32.em: Fix shell 'if' usage for portability.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/elf32.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 1057955..4264b61 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 |