[PATCH v3] ld: Add --no-print-map-discarded option
Nick Clifton
nickc@redhat.com
Wed Apr 10 15:57:00 GMT 2019
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