This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFA: GOLD: Allow INPUT linker script commands to input libraries
- From: Ian Lance Taylor <ian at airs dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 08 Jun 2010 10:35:36 -0700
- Subject: Re: RFA: GOLD: Allow INPUT linker script commands to input libraries
- References: <m3ljapn3dm.fsf@redhat.com>
Nick Clifton <nickc@redhat.com> writes:
> gold/ChangeLog
> 2010-06-08 Nick Clifton <nickc@redhat.com>
>
> * yyscript.y (input_list_element): Allow strings prefixed with
> the '-' character. Treat these as libraries.
> * script.cc (script_add_library): New function. Adds a library
> specified by "-l<name>" found in an input script.
> * script-c.h: Add prototype for script_add_library.
This looks good, except:
> + if (name_string[0] != 'l')
> + gold_error (_("library name must be prefixed with -l"));
No space before left parenthesis (confusing, I know).
Thanks.
Ian