From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8100 invoked by alias); 9 Sep 2009 14:59:52 -0000 Received: (qmail 8040 invoked by uid 22791); 9 Sep 2009 14:59:50 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from vpn.id2.novell.com (HELO vpn.id2.novell.com) (195.33.99.129) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Sep 2009 14:59:44 +0000 Received: from EMEA1-MTA by vpn.id2.novell.com with Novell_GroupWise; Wed, 09 Sep 2009 15:59:42 +0100 Message-Id: <4AA7DEFE0200007800014261@vpn.id2.novell.com> Date: Wed, 09 Sep 2009 14:59:00 -0000 From: "Jan Beulich" To: "Ian Lance Taylor" Cc: Subject: Re: division in ld scripts References: <4AA7CBF202000078000141F9@vpn.id2.novell.com><4AA7CBF202000078000141F9@vpn.id2.novell.com> (Jan Beulich's message of "Wed\, 09 Sep 2009 14\:38\:26 +0100") In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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: 2009-09/txt/msg00262.txt.bz2 >>> Ian Lance Taylor 09.09.09 16:48 >>> >"Jan Beulich" writes: > >> Is it known/intended/documented that using the division operator (/) in >> ld scripts requires a blank to follow, at least in some cases (see below= )? >> All other operators seem to behave as expected (apart from the missing >> but unlikely to be needed ^), while / results in a "syntax error" failur= e. > >The linker language is kind of a mess. The problem here is that '/' can >appear in a file name, so the whole string gets picked up as a file name >rather than a number. I think it would be pretty hard to change without >breaking existing scripts. But why would that "can appear in a file name" argument not also apply to the other operators? Especially '-' shouldn't be that uncommon, albeit perhaps not at the beginning of a file name. Jan