diff --git a/ld/ChangeLog b/ld/ChangeLog index 02e6979996..3a1aa0c570 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 e4cb42618b..c19d4f2f08 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 = .);