[PATCH v3] ld: Add --no-print-map-discarded option

Faraz Shahbazker fshahbazker@wavecomp.com
Wed Apr 10 16:19:00 GMT 2019


Hi Nick,

I have been told that the copyright assignment from Wave Computing is in place.

Regards,
Faraz

On 4/10/19 8:57 AM, Nick Clifton wrote:
> Hi Faraz,
> 
>> 	* NEWS: Mention new option --no-print-map-discarded.
>> 	* ld.h (ld_config_type) <print_map_discarded>: New field.
>> 	* ldlang.c (lang_map): Conditionally output discarded sections
>> 	in map files based on configuration option.
>> 	* ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
>> 	OPTION_NO_PRINT_MAP_DISCARDED>: New.
>> 	* ldmain.c (main): Enabled print_map_discarded by default.
>> 	* lexsup.c (ld_options): Add new command-line options.
>> 	(parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
>> 	OPTION_PRINT_MAP_DISCARDED>: New cases.
>> 	* ld.texi: Document new options.
>> 	* testsuite/ld-gc/gc.exp: Add new test.
>> 	* testsuite/ld-gc/skip-map-discarded.s: New file.
>> 	* testsuite/ld-gc/skip-map-discarded.d: New file.
>> 	* testsuite/ld-gc/skip-map-discarded.map: New file.
> 
>> This is corrected version 3 of a patch posted for review few months back,
>> but not committed due to pending copyright assignment. Somehow managed to
>> reverse the previous version before posting.
>  The patch looks good to me.  Once the copyright assignment is in place
> please ping me and I will approve it.
> 
> Cheers
>   Nick
> 



More information about the Binutils mailing list