X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Femultempl%2Fgeneric.em;h=24d3c1d9c68ed5895848eda1e622ee80d4e6a9d1;hb=7e56227dfffddbbb5b648c386c85345929fa0529;hp=c33d86b098ce2c6a5e3f62700c948a3a2f5ec503;hpb=0c7a8e5acd399d1d36dbe0cda815844dd5308c10;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/emultempl/generic.em b/ld/emultempl/generic.em index c33d86b098..24d3c1d9c6 100644 --- a/ld/emultempl/generic.em +++ b/ld/emultempl/generic.em @@ -1,34 +1,35 @@ # This shell script emits a C file. -*- C -*- # It does some substitutions. -cat >e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <> e${EMULATION_NAME}.c -echo ' ; else if (link_info.relocatable) return' >> e${EMULATION_NAME}.c +echo ' ; else if (bfd_link_relocatable (&link_info)) return' >> e${EMULATION_NAME}.c 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 @@ -96,13 +109,13 @@ echo '; }' >> e${EMULATION_NAME}.c else # Scripts read from the filesystem. -cat >>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <