binutils-gdb/binutils/testsuite/binutils-all
Nick Clifton 1b51340159 Add a warning if an emtpty SHT_REL, SHT_RELA or SHT_PROGBITS section is detected. Disable all warnings unless the (new) lint mode is enabled.
* readelf.c (warn): New function - like elfcomm.c version but only
	produces output if warnings are enabled.
	(struct options): Add --lint and --enable-checks.
	(usage): Add entry for --lint.
	(parse_args): Handle -L.  If checks are enabled but no dumps have
	been selected then enable all dumps.
	(process_section_headers): Replace long if-then-else sequence with
	a switch.  Add warning messages for empty SHT_REL, SHT_RELA and
	SHT_PROGBITS sections.
	(process_file): Do not complain if the file is an archive and lint
	mode has been enabled.
	* elfcomm.c (error): Make the function weak.
	(warn): Likewise.
	* NEWS: Mention the new feature.
	* doc/binutils.texi: Document the new feature.
	* dwarf.h (report_leb_status): Add file name and line number
	parameters.  Include them in the diagnostic output.
	(READ_ULEB): Pass file and line number to report_leb_status.
	(READ_SLEB): Likewise.
	* dwarf.c (read_and_print_leb128): Pass file and line number to
	report_leb_status.
	* testsuite/binutils-all/readelf.exp: Add test of new feature.
	* testsuite/binutils-all/zero-sec.s: New test source file.
	* testsuite/binutils-all/zero-sec.r: Expected output from new
	test.
2020-04-29 16:01:40 +01:00
..
aarch64 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
arc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
arm [PATCH v2] binutils: arm: Fix disassembly of conditional VDUPs. 2020-04-17 17:25:19 +01:00
bfin Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
hppa Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
i386 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
m68k Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
mips Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
nfp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
vax Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
wasm32 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
windres Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
x86-64 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
add-empty-section.d
add-section.d
add-symbol.d
alias-2.def
alias.def
ar.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
bintest.s
common-1.s
common-1a.d
common-1b.d
common-1c.d
common-1d.d
common-1e.d
common-1f.d
common-2.s
common-2a.d
common-2b.d
common-2c.d
common-2d.d
common-2e.d
common-2f.d
compress.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
copy-1.d
copy-1.s
copy-2.d ns32k testsuite tidy 2019-04-16 19:59:55 +09:30
copy-3.d ns32k testsuite tidy 2019-04-16 19:59:55 +09:30
copy-4.d
copy-5.d
copy-6.d Add testcase for PR/24065. 2019-01-08 14:58:03 +00:00
copytest.s
cxxfilt.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
data-sections.s
debug_str.d
debug_str.s
debuginfod.exp The procedure to find an unused port for the debuginfod tests is susceptible to a TOCTOU failure. Change port finding in order to avoid this. Also use 'expect' to interact with the server process since we now use the server's output to determine whether a port is in use. 2020-03-02 12:46:47 +00:00
debuglink.s Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
disasm.s Update objdump's --disassemble=<symbol> feature so that if <symbol> is a function, the entire function will be disassembled, regardless of the presence of interveening symbols. 2019-01-17 15:29:43 +00:00
dlltool.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
dumptest.s
dw2-1.S Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
dw2-1.W
dw2-2.S Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
dw2-3.rS Handle ELF compressed header alignment correctly by setting up the section alignment correctly for the Elf32_Chdr or Elf64_Chdr type and respect the ch_addralign field when decompressing the section data. 2018-11-27 11:59:10 +00:00
dw2-3.rt Handle ELF compressed header alignment correctly by setting up the section alignment correctly for the Elf32_Chdr or Elf64_Chdr type and respect the ch_addralign field when decompressing the section data. 2018-11-27 11:59:10 +00:00
dw2-3.S Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
dw2-3.W
dw2-3gabi.W
dw2-compressed.S Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
dw2-decodedline-1.S
dw2-decodedline.S
dw2-empty.S
dw2-ranges.S Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
dw2-ranges.W
dw4.s Fix discrepancies in nm's --line-number output by adding support for the DW_AT_specification DWARF Attttribute. 2020-03-19 16:55:13 +00:00
dw5.S Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
dw5.W Add support for generating DWARF-5 format directory and file name tables from the assembler. 2020-03-11 10:17:14 +00:00
dwarf-attributes.S Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
dwarf-attributes.W Improve the DWARF decoder's ability to describe the DW_AT_discr_list attribute. 2019-08-27 16:28:55 +01:00
dwo.s Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
elfedit-1.d
elfedit-2.d
elfedit-3.d
elfedit-4.d
elfedit-5.d
elfedit.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
empty
empty-file
empty.s
exclude-1.s
exclude-1a.d
exclude-1b.d
fastcall.def
group-2.s
group-3.s
group-4.s
group-5.d
group-5.s
group-6.d
group-6.s
group-7.s
group-7a.d
group-7b.d
group-7c.d
group.s
keep-section-1.d Implement objcopy/strip --keep-section=<sectionpattern> 2019-11-04 11:55:28 +10:30
keep-section-2.d Implement objcopy/strip --keep-section=<sectionpattern> 2019-11-04 11:55:28 +10:30
libdw2-compressed.out
libdw2-compressedgabi.out
libdw2.out
link-order.s
linkdebug.s Add support for debuginfod to the binutils (disable by default, enabled via a configure time option). 2020-01-09 13:19:20 +00:00
localize-hidden-1.d
localize-hidden-1.s
localize-hidden-2.d
localize-hidden-2.s
locview-1.s
locview-2.s
mbind1.s
needed-by-reloc.s
nm-1.s
nm-elf-1.s
nm-ver.s
nm.exp Fix discrepancies in nm's --line-number output by adding support for the DW_AT_specification DWARF Attttribute. 2020-03-19 16:55:13 +00:00
note-1.d
note-2-32.d Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-2-32.s Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-2-64.d Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-2-64.s Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-3-32.d Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-3-32.s Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-3-64.d Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-3-64.s Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-3.32.s
note-4-32.d Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-4-32.s Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-4-64.d Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-4-64.s Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-5.d
note-5.s
note-6-32.d Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-6-32.s Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-6-64.d Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
note-6-64.s Improve objcopy's note mergeing capabilities. 2019-10-25 16:46:07 +01:00
objcopy.exp Fix objcopy's --preserve-dates command line option so that it will work with PE format files. 2020-03-30 16:30:02 +01:00
objdump.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
objdump.s
objdump.W
objdump.Wk
objdump.WK2 Extend objdump's --dwarf=follow-links option so that separate debug info files will also be affected by other dump function, and symbol tables from separate debug info files will be used when disassembling the main file. 2019-02-25 12:15:41 +00:00
objdump.WK3 Extend objdump's --dwarf=follow-links option so that separate debug info files will also be affected by other dump function, and symbol tables from separate debug info files will be used when disassembling the main file. 2019-02-25 12:15:41 +00:00
objdump.WL
only-section-01.d
pr18374.s
pr19020.in
pr19020a.d
pr19020b.d
pr19547.c
pr23633.d
pr23633.list
pr23633.s
pr25543.d Restore readelf's string dump to previous behaviour where newlines were caused line breaks. 2020-03-02 10:02:02 +00:00
pr25543.s Restore readelf's string dump to previous behaviour where newlines were caused line breaks. 2020-03-02 10:02:02 +00:00
pr25662.ld Add testcase for PR 25662 invalid sh_offset for section 2020-03-27 10:54:26 +00:00
pr25662.s Add testcase for PR 25662 invalid sh_offset for section 2020-03-27 10:54:26 +00:00
readelf.exp Add a warning if an emtpty SHT_REL, SHT_RELA or SHT_PROGBITS section is detected. Disable all warnings unless the (new) lint mode is enabled. 2020-04-29 16:01:40 +01:00
readelf.h
readelf.k
readelf.k2 Extend readelf and objdump so that they will display and follow multiple links to separate debug information files. 2019-02-22 10:36:24 +00:00
readelf.locview-1
readelf.locview-2
readelf.n
readelf.pr18374
readelf.r
readelf.r-64
readelf.s
readelf.s-64
readelf.ss
readelf.ss-64
readelf.ss-mips [MIPS] PR gas/14798: Limit IRIX5 specific default typing to IRIX targets 2019-05-20 11:08:23 -07:00
readelf.ss-tmips [MIPS] PR gas/14798: Limit IRIX5 specific default typing to IRIX targets 2019-05-20 11:08:23 -07:00
readelf.wa
readelf.wKis Extend objdump's --dwarf=follow-links option so that separate debug info files will also be affected by other dump function, and symbol tables from separate debug info files will be used when disassembling the main file. 2019-02-25 12:15:41 +00:00
readelf.z
remove-relocs-01.d
remove-relocs-01.s
remove-relocs-02.d
remove-relocs-03.d
remove-relocs-04.d
remove-relocs-05.d
remove-relocs-06.d
remove-relocs-07.d
remove-relocs-07.s
remove-relocs-08.d
remove-section-01.d
set-section-alignment.d Change objcopy's --set-section-alignment option to take a byte alignment value rather than a power of two alignment value. 2019-10-02 11:55:02 +01:00
size.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
strings-1.bin Enhance the strings program so that it can display multibyte strings. 2018-11-09 12:48:23 +00:00
strings.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
strip-1.d
strip-2.d
strip-3.d RISC-V: Support ELF attribute for gas and readelf. 2019-01-16 13:14:59 -08:00
strip-4.d
strip-5.d
strip-6.d
strip-7.d
strip-8.d
strip-9.d
strip-10.d
strip-11.d
strip-12.d
strip-12.s
strip-13.d
strip-13mips64.s
strip-13rel.s
strip-13rela.s
strip-14.d
strip-14mips64.s
strip-14rel.s
strip-14rela.s
strip-15.d
strip-15mips64.s
strip-15rel.s
strip-15rela.s
symbols-1.d
symbols-2.d
symbols-3.d
symbols-4.d
symbols.s
testprog.c
testranges-ia64.d
testranges-ia64.s
testranges.d
testranges.s
unique.s
unknown.s
update-1.s
update-2.s
update-3.s
update-4.s
update-section.exp Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
verilog-1.hex Add new option to objcopy: --verilog-data-width. Use this option to set the size of byte bundles generated in verilog format files. 2019-05-14 10:42:25 +01:00
verilog-2.hex Add new option to objcopy: --verilog-data-width. Use this option to set the size of byte bundles generated in verilog format files. 2019-05-14 10:42:25 +01:00
verilog-4.hex Add new option to objcopy: --verilog-data-width. Use this option to set the size of byte bundles generated in verilog format files. 2019-05-14 10:42:25 +01:00
verilog-8.hex Add new option to objcopy: --verilog-data-width. Use this option to set the size of byte bundles generated in verilog format files. 2019-05-14 10:42:25 +01:00
verilogtest.s Add missing verilogtest.s file. 2019-05-14 16:16:56 +01:00
version.def
version.s
z.s
zero-sec.r Add a warning if an emtpty SHT_REL, SHT_RELA or SHT_PROGBITS section is detected. Disable all warnings unless the (new) lint mode is enabled. 2020-04-29 16:01:40 +01:00
zero-sec.s Add a warning if an emtpty SHT_REL, SHT_RELA or SHT_PROGBITS section is detected. Disable all warnings unless the (new) lint mode is enabled. 2020-04-29 16:01:40 +01:00