qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Lubomir Rintel <lkundrak@v3.sk>
To: qemu-devel@nongnu.org
Cc: Lubomir Rintel <lkundrak@v3.sk>
Subject: [Qemu-devel] [RESEND] [PATCH] Provide __rel_iplt_{start,end}
Date: Sun, 18 Oct 2009 18:38:04 +0200	[thread overview]
Message-ID: <1255883884.2313.5.camel@localhost.localdomain> (raw)

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

                 reply	other threads:[~2009-10-18 16:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1255883884.2313.5.camel@localhost.localdomain \
    --to=lkundrak@v3.sk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).