aboutsummaryrefslogtreecommitdiff
path: root/ld/news.sc
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-10-11 23:47:05 +0000
committerPer Bothner <per@bothner.com>1991-10-11 23:47:05 +0000
commitb7e24eef35ad6cfad5ebe645144d6dd28c0ce10a (patch)
treead052dc7d604224a4b4b664a207874e1a0af855d /ld/news.sc
parent6b58372076941752b0333890dbf0d2096ce64f97 (diff)
downloadgdb-b7e24eef35ad6cfad5ebe645144d6dd28c0ce10a.zip
gdb-b7e24eef35ad6cfad5ebe645144d6dd28c0ce10a.tar.gz
gdb-b7e24eef35ad6cfad5ebe645144d6dd28c0ce10a.tar.bz2
* news.sc: Add alignment for data segment.
* ldtemplate: Add (yet another) script to get for -n or -N options. (These need different alignment than ZMAGIC files.) * Makefile.in: Add stuff for new foo.xn scripts. These are generated by replacing "ALIGN(0x...00)" by ".".
Diffstat (limited to 'ld/news.sc')
-rwxr-xr-xld/news.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/news.sc b/ld/news.sc
index 254d3b2..ed57fed 100755
--- a/ld/news.sc
+++ b/ld/news.sc
@@ -11,9 +11,9 @@ SECTIONS
{
CREATE_OBJECT_SYMBOLS
*(.text)
- _etext = .;
+ _etext = ALIGN(0x1000);
}
- .data . :
+ .data ALIGN(0x1000) :
{
*(.data)
CONSTRUCTORS;