From patchwork Sun Oct 18 16:38:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RESEND] Provide __rel_iplt_{start,end} Date: Sun, 18 Oct 2009 06:38:04 -0000 From: Lubomir Rintel X-Patchwork-Id: 36341 Message-Id: <1255883884.2313.5.camel@localhost.localdomain> To: qemu-devel@nongnu.org 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 :