Message ID | 1423473430-11492-1-git-send-email-will.newton@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCXPZFGDUEJBB7EC4KTAKGQEN2DWWPQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 87F5821521 for <linaro@patches.linaro.org>; Mon, 9 Feb 2015 09:44:29 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id l4sf18033830lbv.1 for <linaro@patches.linaro.org>; Mon, 09 Feb 2015 01:44:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:mailing-list :precedence:list-id:list-unsubscribe:list-subscribe:list-archive :list-post:list-help:sender:delivered-to:from:to:subject:date :message-id:x-original-sender:x-original-authentication-results; bh=gq9cAzaRvSX7T80iTnNzj5FmJqE5Sxi49d/WIxsPfg0=; b=UbXN22fmd8w9wsmB+zCFCbNYrdyLa53vjfFnLxkziCm6VSunKmamEleDZ3ikvwdIc9 KvHbkpJsE9U2GCFkuBvTsSn2YvH3EskePXFhKRAKVZO6INg5KsEtjiCiqsDEXpYEOHx3 zetG0Qo20a0JytESKIJ9ezT8eSEkl7lTTW3OCHWaDIfpbbdfYn23ZMmxiz5E8cAjVIMW OySpwnYE7gr/BOwwvckmTypbxlzIByFaAW4apA/9VCbxRSeQqWDY5ksPhsi+lfQSl6t4 qySOX+aawIRCGtqe3CjCCnNcBo1rXpuAtlkjJq80LbrGOPOplIEXX42oKE2LVP/CNXh+ uDGA== X-Gm-Message-State: ALoCoQku5RkNJNR6jgw7oyoBS7jZW6AJO3fjaZFrlxDBonxRQW2ERt2tGYGaf1hp6EKV4poEpCbo X-Received: by 10.112.65.11 with SMTP id t11mr1094162lbs.4.1423475068147; Mon, 09 Feb 2015 01:44:28 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.137 with SMTP id y9ls563369laj.59.gmail; Mon, 09 Feb 2015 01:44:27 -0800 (PST) X-Received: by 10.112.158.199 with SMTP id ww7mr15473372lbb.104.1423475067927; Mon, 09 Feb 2015 01:44:27 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id oc7si8559955lbb.27.2015.02.09.01.44.27 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Feb 2015 01:44:27 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by labgq15 with SMTP id gq15so12106940lab.6 for <patchwork-forward@linaro.org>; Mon, 09 Feb 2015 01:44:27 -0800 (PST) X-Received: by 10.112.67.41 with SMTP id k9mr15750250lbt.35.1423475067801; Mon, 09 Feb 2015 01:44:27 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp3272737lbj; Mon, 9 Feb 2015 01:44:26 -0800 (PST) X-Received: by 10.70.25.4 with SMTP id y4mr10936250pdf.5.1423475066072; Mon, 09 Feb 2015 01:44:26 -0800 (PST) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id rc3si21418776pab.160.2015.02.09.01.44.25 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Feb 2015 01:44:26 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-return-86377-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 2725 invoked by alias); 9 Feb 2015 09:17:22 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Subscribe: <mailto:binutils-subscribe@sourceware.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> Sender: binutils-owner@sourceware.org Delivered-To: mailing list binutils@sourceware.org Received: (qmail 2715 invoked by uid 89); 9 Feb 2015 09:17:22 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f52.google.com Received: from mail-pa0-f52.google.com (HELO mail-pa0-f52.google.com) (209.85.220.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 09 Feb 2015 09:17:20 +0000 Received: by mail-pa0-f52.google.com with SMTP id ey11so8324667pad.11 for <binutils@sourceware.org>; Mon, 09 Feb 2015 01:17:18 -0800 (PST) X-Received: by 10.68.141.204 with SMTP id rq12mr26757565pbb.7.1423473438648; Mon, 09 Feb 2015 01:17:18 -0800 (PST) Received: from localhost.localdomain.localdomain ([113.28.134.59]) by mx.google.com with ESMTPSA id r6sm15679624pdm.72.2015.02.09.01.17.17 for <binutils@sourceware.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Feb 2015 01:17:18 -0800 (PST) From: Will Newton <will.newton@linaro.org> To: binutils@sourceware.org Subject: [PATCH] gold/arm.cc: Output mapping symbol for PLT code Date: Mon, 9 Feb 2015 17:17:10 +0800 Message-Id: <1423473430-11492-1-git-send-email-will.newton@linaro.org> X-IsSubscribed: yes X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 |
diff --git a/gold/arm.cc b/gold/arm.cc index be2294c..f1d4fe9 100644 --- a/gold/arm.cc +++ b/gold/arm.cc @@ -7938,6 +7938,13 @@ Target_arm<big_endian>::make_plt_section( (elfcpp::SHF_ALLOC | elfcpp::SHF_EXECINSTR), this->plt_, ORDER_PLT, false); + symtab->define_in_output_data("$a", NULL, + Symbol_table::PREDEFINED, + this->plt_, + 0, 0, elfcpp::STT_NOTYPE, + elfcpp::STB_LOCAL, + elfcpp::STV_DEFAULT, 0, + false, false); } }