qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RESEND] [PATCH] Provide __rel_iplt_{start,end}
@ 2009-10-18 16:38 Lubomir Rintel
  0 siblings, 0 replies; only message in thread
From: Lubomir Rintel @ 2009-10-18 16:38 UTC (permalink / raw)
  To: qemu-devel; +Cc: Lubomir Rintel

This basically fixes build with -static against recent glibc (libc.a's
__libc_csu_init() refers to these symbols).
---
 i386.ld |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/i386.ld b/i386.ld
index f2dafec..9b4063e 100644
--- a/i386.ld
+++ b/i386.ld
@@ -39,7 +39,13 @@ SECTIONS
   .rela.fini     : { *(.rela.fini)	}
   .rel.bss       : { *(.rel.bss)		}
   .rela.bss      : { *(.rela.bss)		}
-  .rel.plt       : { *(.rel.plt)		}
+  .rel.plt        :
+    {
+      *(.rel.plt)
+      PROVIDE_HIDDEN (__rel_iplt_start = .);
+      *(.rel.iplt)
+      PROVIDE_HIDDEN (__rel_iplt_end = .);
+    }
   .rela.plt      : { *(.rela.plt)		}
   .init          : { *(.init)	} =0x47ff041f
   .text      :
-- 
1.6.5.rc2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-18 16:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-18 16:38 [Qemu-devel] [RESEND] [PATCH] Provide __rel_iplt_{start,end} Lubomir Rintel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).