RFA: GOLD: Allow INPUT linker script commands to input libraries
Wed Jun 9 14:20:00 GMT 2010
>> * 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 != 'l')
>> + gold_error (_("library name must be prefixed with -l"));
> No space before left parenthesis (confusing, I know).
Oops - sorry, I missed that one. Patch checked in with that correction
More information about the Binutils