From: Ian Lance Taylor Date: Mon, 16 Sep 1996 21:56:33 +0000 (+0000) Subject: * scripttempl/armcoff.sc: For -N or -n, don't align .data. From X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df6b92ed1b325da2b457f17bcaf8afd010916fe4;p=binutils-gdb.git * scripttempl/armcoff.sc: For -N or -n, don't align .data. From Chris Hadley --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 29a057f05cf..96993e2f1ab 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 16 17:55:21 1996 Ian Lance Taylor + + * scripttempl/armcoff.sc: For -N or -n, don't align .data. From + Chris Hadley + start-sanitize-v850 Sun Sep 15 22:09:56 1996 Jeffrey A Law (law@cygnus.com) diff --git a/ld/scripttempl/armcoff.sc b/ld/scripttempl/armcoff.sc index 8243716449c..daa0e4377e8 100644 --- a/ld/scripttempl/armcoff.sc +++ b/ld/scripttempl/armcoff.sc @@ -1,6 +1,11 @@ # Linker script for ARM COFF. # Based on i386coff.sc by Ian Taylor . test -z "$ENTRY" && ENTRY=_start +if test -z "${DATA_ADDR}"; then + if test "$LD_FLAG" = "N" || test "$LD_FLAG" = "n"; then + DATA_ADDR=. + fi +fi cat <