From patchwork Sun Oct 18 16:38:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 36341 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 99C9BB7B76 for ; Mon, 19 Oct 2009 03:38:47 +1100 (EST) Received: from localhost ([127.0.0.1]:60374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzYmJ-00085s-OD for incoming@patchwork.ozlabs.org; Sun, 18 Oct 2009 12:38:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MzYlm-00083V-EN for qemu-devel@nongnu.org; Sun, 18 Oct 2009 12:38:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MzYlk-00082W-H5 for qemu-devel@nongnu.org; Sun, 18 Oct 2009 12:38:09 -0400 Received: from [199.232.76.173] (port=57453 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzYlk-00082T-9z for qemu-devel@nongnu.org; Sun, 18 Oct 2009 12:38:08 -0400 Received: from norkia.v3.sk ([92.240.234.41]:52313) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MzYlj-0003IA-PY for qemu-devel@nongnu.org; Sun, 18 Oct 2009 12:38:07 -0400 Received: from [172.31.50.126] (r11na27.net.upc.cz [94.113.108.27]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lkundrak@v3.sk) by norkia.v3.sk (Postfix) with ESMTP id 5C57168035; Sun, 18 Oct 2009 18:38:05 +0200 (CEST) From: Lubomir Rintel To: qemu-devel@nongnu.org Date: Sun, 18 Oct 2009 18:38:04 +0200 Message-Id: <1255883884.2313.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.0 (2.28.0-2.fc12) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Lubomir Rintel Subject: [Qemu-devel] [RESEND] [PATCH] Provide __rel_iplt_{start,end} X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 :