From be105232e91bd757c988ba6acff8451bf97f2a56 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Thu, 18 Jan 2007 00:31:12 +0000 Subject: [PATCH] add rel.got to linkscripts --- dkarm-eabi/crtls/ds_arm7.ld | 2 +- dkarm-eabi/crtls/ds_arm9.ld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dkarm-eabi/crtls/ds_arm7.ld b/dkarm-eabi/crtls/ds_arm7.ld index a1bbe2f..7d182d5 100644 --- a/dkarm-eabi/crtls/ds_arm7.ld +++ b/dkarm-eabi/crtls/ds_arm7.ld @@ -117,7 +117,7 @@ SECTIONS . = ALIGN(4); /* REQUIRED. LD is flaky without it. */ } >iwram = 0xff .jcr : { KEEP (*(.jcr)) } >iwram = 0 - .got : { *(.got.plt) *(.got) } >iwram = 0 + .got : { *(.got.plt) *(.got) *(.rel.got) } >iwram = 0 .iwram ALIGN(4) : diff --git a/dkarm-eabi/crtls/ds_arm9.ld b/dkarm-eabi/crtls/ds_arm9.ld index 996ba49..ee8435f 100644 --- a/dkarm-eabi/crtls/ds_arm9.ld +++ b/dkarm-eabi/crtls/ds_arm9.ld @@ -120,7 +120,7 @@ SECTIONS . = ALIGN(4); /* REQUIRED. LD is flaky without it. */ } >ewram = 0xff .jcr : { KEEP (*(.jcr)) } >ewram = 0 - .got : { *(.got.plt) *(.got) } >ewram = 0 + .got : { *(.got.plt) *(.got) *(.rel.got) } >ewram = 0 .ewram ALIGN(4) : {