From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30045 invoked by alias); 8 Feb 2011 23:03:11 -0000 Received: (qmail 30023 invoked by uid 22791); 8 Feb 2011 23:03:11 -0000 X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Feb 2011 23:03:06 +0000 Received: from kpbe18.cbf.corp.google.com (kpbe18.cbf.corp.google.com [172.25.105.82]) by smtp-out.google.com with ESMTP id p18N34rm002475 for ; Tue, 8 Feb 2011 15:03:04 -0800 Received: from pwj8 (pwj8.prod.google.com [10.241.219.72]) by kpbe18.cbf.corp.google.com with ESMTP id p18N32Hp003929 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Tue, 8 Feb 2011 15:03:03 -0800 Received: by pwj8 with SMTP id 8so1380133pwj.36 for ; Tue, 08 Feb 2011 15:03:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.139.4 with SMTP id m4mr17585044wfd.162.1297206182630; Tue, 08 Feb 2011 15:03:02 -0800 (PST) Received: by 10.142.217.13 with HTTP; Tue, 8 Feb 2011 15:03:02 -0800 (PST) In-Reply-To: References: Date: Tue, 08 Feb 2011 23:03:00 -0000 Message-ID: Subject: Re: arm-eabi-4.4.3 with gold From: =?UTF-8?B?RG91ZyBLd2FuICjpl5zmjK/lvrcp?= To: Qing Chang Cc: binutils@sourceware.org, Jing Yu , Ying Wang Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00077.txt.bz2 KEEP is totally broken. What section do you need? You can fall back on ld by adding -fuse-ld=3Dbfd in gcc's linking step. On Tue, Feb 8, 2011 at 2:58 PM, Qing Chang wrote: > Dear all, > In the latest arm-eabi-4.4.3 toolchain of Android repo, gold was > installed/used as default arm-eabi-ld, instead of bfd ld. > > However, compared with=A0arm-eabi-4.4.0,=A0with this new 4.4.3 gold, seem= s some > key words are not handled in the=A0same way as before. For example, > =A0 * PROVIDE/PROVIDE_HIDDEN won't define symbol any more > =A0 * KEEP won't keep sections during garbage collections any more > > Do we need certain extra option/flag to re-enable these when using > 4.4.3 arm-eabi-ld (gold)? > Thanks, > Qing