[PATCH] ld/emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for "-r" option.
Alan Modra
amodra@gmail.com
Tue Mar 24 00:23:00 GMT 2015
On Sat, Mar 21, 2015 at 11:20:04PM +0800, Chen Gang wrote:
> * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for "-r"
> option.
This looks OK, except
> +# For ld -r, skip OTHER_BSS_SECTIONS, or will cause multiple definition.
> +OTHER_BSS_SECTIONS="";
> +if [ "x${LD_FLAG}" != "xr" ]; then
this should test $RELOCATING instead of $LD_FLAG.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list