From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10538 invoked by alias); 20 Feb 2017 18:44:33 -0000 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 Received: (qmail 10529 invoked by uid 89); 20 Feb 2017 18:44:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy=practically, kechlibar, Symbian, Kechlibar X-HELO: mail-yw0-f177.google.com Received: from mail-yw0-f177.google.com (HELO mail-yw0-f177.google.com) (209.85.161.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Feb 2017 18:44:31 +0000 Received: by mail-yw0-f177.google.com with SMTP id q127so15982567ywg.0 for ; Mon, 20 Feb 2017 10:44:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QcEEzO36/9CIS1I31WAkggav809UL/B/Bdud99+LvV8=; b=OvD/MQumcq43724wjLFlPKLCSRS8vrJYDBNpfOQVj6e97Mn+jHxeY88PbJXwt/VNXF S0d63tHnEbqYXevzzAYYbUK9/jnL0ch3AAVRdXiVrFLbSgIxpA6MxrDRRggx/tGo+scI 4+lA9PFMYUVW1btER4ILuuP2JrKQRR/DLda6XwYtDNsUvHH1pg9lcJkajWkWLplZSpuU LggQGyXxcN0ZOvxznidKu+mSLp76sx0HdpUmYalfqPYKliYNZnsoT/vidPnnV7suu3Hi FEEVatZBM8+tRWc8rsoDULNI0TE7d/i2SldHrNn9u9w5FtGI/hWr7U2X0f4DxOYOsU3Y u9wA== X-Gm-Message-State: AMke39nd5UyLoPjO7C6Zday44lxEONzhy2dPfpaK8uN7zvPH1ZZFNU7VXsxY4Sz/7VlpBQ7COm2Os70GpYWvKlTo X-Received: by 10.129.85.20 with SMTP id j20mr5408696ywb.287.1487616270107; Mon, 20 Feb 2017 10:44:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.0.9 with HTTP; Mon, 20 Feb 2017 10:44:29 -0800 (PST) In-Reply-To: <0d1821cb-04b3-584a-a8c0-73a271158626@circletech.net> References: <0d1821cb-04b3-584a-a8c0-73a271158626@circletech.net> From: "Ian Lance Taylor via binutils" Reply-To: Ian Lance Taylor Date: Mon, 20 Feb 2017 18:44:00 -0000 Message-ID: Subject: Re: GOLD linker and arm-none-symbianelf To: Marian Kechlibar Cc: Binutils Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00196.txt.bz2 On Mon, Feb 20, 2017 at 9:16 AM, Marian Kechlibar wrote: > > although Symbian OS is practically dead in the commercial world, I still > have to support several hundred Symbian OS - based clients. > > Recently, I successfully built binutils 2.27 for target > arm-none-symbianelf. It works. But I cannot build "gold" for this > target, only "ld". It seems that the target platform is not supported. > > I can build gold for linux from the same sources just fine. > > Is really gold unusable on arm-none-symbianelf? > > If I still wanted to build gold for arm-none-symbianelf, what edits do I > have to do in config/makefiles in order to get the system to build the > binary? What is different between arm-none-elf and arm-none-symbianelf, and how do does differences affect the linker? If there is no effect on the linker then you probably just need to edit the handling of ENABLE_GOLD in the top-level configure.ac to recognize "symbianelf" as identical to "elf". Looking at ld/emulparams/armsymbian.sh, though, and comparing it to ld/emulparams/armelf.sh, it looks like some special symbols may need to be defined. That will require more work. Ian