From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27779 invoked by alias); 9 Jun 2014 13:56:34 -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 27767 invoked by uid 89); 9 Jun 2014 13:56:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Jun 2014 13:56:32 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s59DuR8Y028589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 9 Jun 2014 09:56:28 -0400 Received: from [10.36.4.233] (vpn1-4-233.ams2.redhat.com [10.36.4.233]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s59DuMPf019570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 9 Jun 2014 09:56:26 -0400 Message-ID: <5395BD06.2000403@redhat.com> Date: Mon, 09 Jun 2014 13:56:00 -0000 From: Nicholas Clifton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Hans-Peter Nilsson , binutils@sourceware.org Subject: Re: RFC: allow a first "=" to mean sysroot for all paths in linker-scripts? References: <201405270232.s4R2WUJL032457@ignucius.se.axis.com> In-Reply-To: <201405270232.s4R2WUJL032457@ignucius.se.axis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00077.txt.bz2 Hi Hans-Peter, > Is there a reason not to allow a first character '=' to mean > sysroot-prefix for all paths inside linker scripts? No... > So again, how about treating "=" as the sysroot prefix for > *all* paths in linker scripts? A good idea - please submit a patch. > What to do about quoted paths? > (I suggest both quoted and unquoted "="-prefixed paths to work.) Hmm, I can think of no situation where a user would want to use = as a valid first character of a real filepath, so quoted and unquoted prefixes are fine. Cheers Nick