Patchwork ppc.ld: add rela.iplt and provide __rela_iplt_{start, end}

login
register
mail settings
Submitter Andreas Schwab
Date April 11, 2011, 8:27 p.m.
Message ID <m2bp0ccz42.fsf@igel.home>
Download mbox | patch
Permalink /patch/90695/
State New
Headers show

Comments

Andreas Schwab - April 11, 2011, 8:27 p.m.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
---
 ppc.ld |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/ppc.ld b/ppc.ld
index 5248ef1..18511ce 100644
--- a/ppc.ld
+++ b/ppc.ld
@@ -49,6 +49,12 @@  SECTIONS
   .rela.sbss2     : { *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) }
   .rel.bss        : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
   .rela.bss       : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
+  .rela.iplt      :
+    {
+      PROVIDE_HIDDEN (__rela_iplt_start = .);
+      *(.rela.iplt)
+      PROVIDE_HIDDEN (__rela_iplt_end = .);
+    }
   .rel.plt        : { *(.rel.plt) }
   .rela.plt       : { *(.rela.plt) }
   .init           :