X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=ld%2Fscripttempl%2Fmmo.sc;fp=ld%2Fscripttempl%2Fmmo.sc;h=33808846ac7e3de375c4d8b2f75d961976e0a64b;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hp=599db83199dd028fdfd5d6a4c4fe0dea7de61eb3;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10;p=msp430-binutils.git diff --git a/ld/scripttempl/mmo.sc b/ld/scripttempl/mmo.sc index 599db83..3380884 100644 --- a/ld/scripttempl/mmo.sc +++ b/ld/scripttempl/mmo.sc @@ -1,7 +1,11 @@ +# MMO is not a relocateable format, and we don't want to require an +# explicit (e.g.) "-m elf64mmix" when -r is used. +test -z $RELOCATEABLE_OUTPUT_FORMAT && RELOCATEABLE_OUTPUT_FORMAT=$OUTPUT_FORMAT +test -z ${RELOCATING+0} && OUTPUT_FORMAT=$RELOCATEABLE_OUTPUT_FORMAT cat <