From b502879f75ff18608927d2fe31ac88b785abcf52 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 18 Oct 1996 18:59:45 +0000 Subject: [PATCH] * scripttempl/v850.sc (__gp, __ep): Define. --- ld/ChangeLog | 6 ++++++ ld/scripttempl/v850.sc | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 02e69799964..3a1aa0c5708 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 * 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 e4cb42618b1..c19d4f2f081 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 = .); -- 2.30.2