aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-10-18 18:59:45 +0000
committerJeff Law <law@redhat.com>1996-10-18 18:59:45 +0000
commitb502879f75ff18608927d2fe31ac88b785abcf52 (patch)
tree86eb89518dd1c850e888d8d65da6ddb8d07a4f0f /ld
parentb70795e990d3be38a08768ef6c7f7611dad4b06a (diff)
downloadgdb-b502879f75ff18608927d2fe31ac88b785abcf52.zip
gdb-b502879f75ff18608927d2fe31ac88b785abcf52.tar.gz
gdb-b502879f75ff18608927d2fe31ac88b785abcf52.tar.bz2
* scripttempl/v850.sc (__gp, __ep): Define.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/scripttempl/v850.sc2
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 02e6979..3a1aa0c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+start-sanitize-v850
+Fri Oct 18 12:58:35 1996 Jeffrey A Law (law@cygnus.com)
+
+ * scripttempl/v850.sc (__gp, __ep): Define.
+
+end-sanitize-v850
Thu Oct 17 18:14:07 1996 Ian Lance Taylor <ian@cygnus.com>
* ld.texinfo: Try to consistently use a single or a double dash
diff --git a/ld/scripttempl/v850.sc b/ld/scripttempl/v850.sc
index e4cb426..c19d4f2 100644
--- a/ld/scripttempl/v850.sc
+++ b/ld/scripttempl/v850.sc
@@ -72,10 +72,12 @@ SECTIONS
}
.got : { *(.got.plt) *(.got) }
.dynamic : { *(.dynamic) }
+ ${RELOCATING+ __ep = ALIGN (4) + 0x80;}
.tdata : { *(.tdata) }
/* We want the small data sections together, so single-instruction offsets
can access them all, and initialized data all before uninitialized, so
we can shorten the on-disk segment size. */
+ ${RELOCATING+ __gp = ALIGN(4) + 0x8000;}
.sdata : { *(.rosdata) *(.sdata) }
_edata = .;
PROVIDE (edata = .);