summaryrefslogtreecommitdiffstats
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-10-26 18:12:41 +0000
committerIan Lance Taylor <ian@airs.com>1995-10-26 18:12:41 +0000
commit328e5a48e87d75e0d0b63669c533025da6242a5e (patch)
tree422de85d8c61319567a876e6d43a8140fe64270f /ld
parente89929cd799f56b70a7626a693d0956568fb3147 (diff)
downloadppe42-binutils-328e5a48e87d75e0d0b63669c533025da6242a5e.tar.gz
ppe42-binutils-328e5a48e87d75e0d0b63669c533025da6242a5e.zip
* scripttempl/aix.sc: Move special symbols inside sections.
Always start .data at 0.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/aix.sc14
2 files changed, 12 insertions, 7 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index dcce3942c5..69dac3be97 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 26 14:11:26 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * scripttempl/aix.sc: Move special symbols inside sections.
+ Always start .data at 0.
+
Wed Oct 25 11:52:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
* Makefile.in (diststuff): Also make info.
diff --git a/ld/scripttempl/aix.sc b/ld/scripttempl/aix.sc
index 74fdeeed46..ec67ee149c 100644
--- a/ld/scripttempl/aix.sc
+++ b/ld/scripttempl/aix.sc
@@ -10,8 +10,8 @@ ENTRY(__start)
SECTIONS
{
.pad 0 : { *(.pad) }
- ${RELOCATING+PROVIDE (_text = .);}
.text ${RELOCATING-0} : {
+ ${RELOCATING+PROVIDE (_text = .);}
*(.text)
*(.pr)
*(.ro)
@@ -20,10 +20,10 @@ SECTIONS
*(.xo)
*(.ti)
*(.tb)
+ ${RELOCATING+PROVIDE (_etext = .);}
}
- ${RELOCATING+PROVIDE (_etext = .);}
- ${RELOCATING+PROVIDE (_data = .);}
- .data ${RELOCATING-0} : {
+ .data 0 : {
+ ${RELOCATING+PROVIDE (_data = .);}
*(.data)
*(.rw)
*(.sv)
@@ -32,16 +32,16 @@ SECTIONS
*(.tc0)
*(.tc)
*(.td)
+ ${RELOCATING+PROVIDE (_edata = .);}
}
- ${RELOCATING+PROVIDE (_edata = .);}
.bss : {
*(.bss)
*(.bs)
*(.uc)
*(COMMON)
+ ${RELOCATING+PROVIDE (_end = .);}
+ ${RELOCATING+PROVIDE (end = .);}
}
- ${RELOCATING+PROVIDE (_end = .);}
- ${RELOCATING+PROVIDE (end = .);}
.loader 0 : {
*(.loader)
}
OpenPOWER on IntegriCloud