8sa1-binutils-gdb/binutils/testsuite/binutils-all/mips
Nick Clifton 6f156d7a4a Add support for v3 binary annotation notes.
I am checking in the attached patch which updates the binutils
  support for version 3 binary annotation notes.  (Version 3 adds
  an end address to the ranges covered by the notes, so that it
  is possible to detect gaps in the coverage).

  This patch also stops the note merging feature of objcopy from
  executing if the notes have relocations against them.  This makes the
  code simpler, and prevents the problems with architectures which have
  unusual relocation management issues.

	* objcopy.c (objcopy_internal_note): New structure.
	(gap_exists): New function.
	(is_open_note): New function.
	(is_func_note): New function.
	(is_64bit): New function.
	(merge_gnu_build_notes): Handle v3 notes.  Do not merge
	if there are relocations against the notes.
	* readelf.c (get_note_type): Use short names for build attribute
	notes.
	(print_symbol_for_build_attribute): Rename to
	get_symbol_for_build_attribute.  Returns the found symbol rather
	than printing it.
	(print_gnu_build_attribute_description): Maintain address ranges
	for function notes as well as global notes.  Handle v3 notes.
	(print_gnu_build_attribute_name): Use more space for printing the
	name in wide mode.
	* testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
	Eliminate symbol references in order to remove the need for
	relocations.
	* testsuite/binutils-all/note-2-64.s: Likewise.
	* testsuite/binutils-all/note-3-32.s: Add a size to the note_1
	symbol.
	* testsuite/binutils-all/note-3-64.s: Likewise.
	* testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
	output.
	* testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
	* testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
	* testsuite/binutils-all/note-2-32.d: Likewise.
	* testsuite/binutils-all/note-2-64.d: Likewise.
	* testsuite/binutils-all/note-3-32.d: Likewise.
	* testsuite/binutils-all/note-3-64.d: Likewise.
	* testsuite/binutils-all/note-4-64.s: New test.  Checks v3 notes.
	* testsuite/binutils-all/note-4-32.s: New test.
	* testsuite/binutils-all/note-4-64.d: New test result file.
	* testsuite/binutils-all/note-4-32.d: New test result file.
2018-01-03 10:30:07 +00:00
..
mips16-alias.d MIPS16/opcodes: Annotate instruction aliases 2017-04-25 11:55:34 +01:00
mips16-alias.s MIPS16/opcodes: Annotate instruction aliases 2017-04-25 11:55:34 +01:00
mips16-extend-insn.d MIPS16/opcodes: Make the handling of BREAK and SDBBP consistent 2017-05-12 01:12:10 +01:00
mips16-extend-insn.s MIPS16: Handle non-extensible instructions correctly 2016-12-23 19:33:45 +00:00
mips16-extend-noinsn.d MIPS16: Switch to 32-bit opcode table interpretation 2016-12-20 11:56:32 +00:00
mips16-extend-noinsn.s MIPS16/opcodes: Reformat raw EXTEND and undecoded output 2016-12-09 23:18:06 +00:00
mips16-noalias.d MIPS16/opcodes: Annotate instruction aliases 2017-04-25 11:55:34 +01:00
mips16-pcrel.d MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment 2016-12-08 23:30:57 +00:00
mips16-pcrel.s MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment 2016-12-08 23:30:57 +00:00
mips16-undecoded.d MIPS16e2: Add new MIPS16e2 ASE binutils and GAS tests 2017-05-15 13:57:11 +01:00
mips16-undecoded.s MIPS16e2: Add new MIPS16e2 ASE binutils and GAS tests 2017-05-15 13:57:11 +01:00
mips16e2-extend-insn.d MIPS16e2: Add new MIPS16e2 ASE binutils and GAS tests 2017-05-15 13:57:11 +01:00
mips16e2-undecoded.d MIPS16e2: Add new MIPS16e2 ASE binutils and GAS tests 2017-05-15 13:57:11 +01:00
mips-ase-1.d MIPS/opcodes: Also set disassembler's ASE flags from ELF structures 2016-12-14 22:12:21 +00:00
mips-ase-1.s MIPS/opcodes: Also set disassembler's ASE flags from ELF structures 2016-12-14 22:12:21 +00:00
mips-ase-2.d MIPS/opcodes: Also set disassembler's ASE flags from ELF structures 2016-12-14 22:12:21 +00:00
mips-ase-2.s MIPS/opcodes: Also set disassembler's ASE flags from ELF structures 2016-12-14 22:12:21 +00:00
mips-ase-3.d MIPS/opcodes: Also set disassembler's ASE flags from ELF structures 2016-12-14 22:12:21 +00:00
mips-note-2-n32.d MIPS/BFD: For n64 hold the number of internal relocs in `->reloc_count' 2017-05-20 00:31:39 +01:00
mips-note-2-n64.d MIPS/BFD: For n64 hold the number of internal relocs in `->reloc_count' 2017-05-20 00:31:39 +01:00
mips-note-2.d MIPS/BFD: For n64 hold the number of internal relocs in `->reloc_count' 2017-05-20 00:31:39 +01:00
mips-note-2r-n32.d Add support for v3 binary annotation notes. 2018-01-03 10:30:07 +00:00
mips-note-2r-n64.d Add support for v3 binary annotation notes. 2018-01-03 10:30:07 +00:00
mips-note-2r.d Add support for v3 binary annotation notes. 2018-01-03 10:30:07 +00:00
mips-xpa-virt-1.d MIPS: Fix XPA base and Virtualization ASE instruction handling 2017-06-30 07:21:55 +01:00
mips-xpa-virt-2.d MIPS: Fix XPA base and Virtualization ASE instruction handling 2017-06-30 07:21:55 +01:00
mips-xpa-virt-3.d MIPS: Fix XPA base and Virtualization ASE instruction handling 2017-06-30 07:21:55 +01:00
mips-xpa-virt-4.d MIPS: Fix XPA base and Virtualization ASE instruction handling 2017-06-30 07:21:55 +01:00
mips-xpa-virt.s MIPS: Fix XPA base and Virtualization ASE instruction handling 2017-06-30 07:21:55 +01:00
mips.exp Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mixed-micromips.d
mixed-micromips.s
mixed-mips16-micromips.d MIPS/opcodes: Correct mixed MIPS16 and microMIPS disassembly 2016-05-18 13:07:24 +01:00
mixed-mips16-micromips.s MIPS/opcodes: Correct mixed MIPS16 and microMIPS disassembly 2016-05-18 13:07:24 +01:00
mixed-mips16.d
mixed-mips16.s