binutils-gdb/ld/testsuite
Faraz Shahbazker 035801cebe ld: Add --no-print-map-discarded option
Add a new option to disable the listing of discarded sections
in map file output.  The use case stems from a large application
built with -ffunction-sections --gc-sections where the list of
discarded sections blows up the map file output.  The default
behaviour remains to print discarded sections,  but the new option
allows us to disable it.

ld/
	* 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.
2019-04-11 10:16:31 -07:00
..
config ld: Add -static-pie tests 2019-04-11 06:52:03 -07:00
ld-aarch64 AArch64: When DF_BIND_NOW don't use TLSDESC GOT value. 2019-04-11 11:30:03 +01:00
ld-alpha Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-arc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-arm Arm: Fix Arm disassembler mapping symbol search. 2019-03-25 15:05:53 +00:00
ld-auto-import Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-avr Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-bootstrap Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-cdtest Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-checks Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-cris Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-crx Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-csky Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
ld-cygwin Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-d10v Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-discard Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-elf ld: Add -static-pie tests 2019-04-11 06:52:03 -07:00
ld-elfcomm Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-elfvers Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-elfvsb Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-elfweak Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-fastcall Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-frv Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-gc ld: Add --no-print-map-discarded option 2019-04-11 10:16:31 -07:00
ld-h8300 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-i386 x86: Add -z cet-report=[none|warning|error] 2019-04-11 08:21:30 -07:00
ld-ia64 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-ifunc ld: Add -static-pie tests 2019-04-11 06:52:03 -07:00
ld-libs Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-linkonce Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-m68hc11 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-m68k run_dump_test source in build directory 2019-01-08 18:50:54 +10:30
ld-mep Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-metag Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-mips-elf Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-misc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-mmix Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-mn10300 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-msp430-elf Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-nds32 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-nios2 Run more ld tests when not native 2017-01-02 23:48:08 +10:30
ld-or1k Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-pe Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-pie Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-plugin Provide string description of definition, visibility and resolution in LTO plug-in. 2019-03-26 15:22:01 +01:00
ld-powerpc PowerPC disassembler: Don't emit trailing spaces 2019-04-05 12:20:49 +10:30
ld-pru Fix binary compatibility between GCC and the TI compiler for the PRU target. 2018-05-09 11:39:32 +01:00
ld-riscv-elf Fix spelling mistakes in BFD library. 2019-01-21 12:39:24 +00:00
ld-s12z Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-s390 Revert "Add support to GNU ld to separate got related plt entries" 2019-03-01 15:35:00 +01:00
ld-scripts Fix some ldscripts/pr24008 fails 2019-02-06 17:33:54 +10:30
ld-selective Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-sh Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-shared Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-size Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-sparc Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-spu Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-srec Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-tic6x Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-tilegx Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-tilepro Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-undefined Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-unique csky ld testsuite fixes 2019-03-18 22:37:26 +10:30
ld-v850 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-vax-elf Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-visium Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-vxworks Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-x86-64 x86: Add -z cet-report=[none|warning|error] 2019-04-11 08:21:30 -07:00
ld-xc16x Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-xstormy16 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ld-xtensa bfd: xtensa: fix shrink_dynamic_reloc_sections for export-dynamic 2019-03-29 10:02:10 -07:00
ld-z8k Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
lib Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-9303