old-cross-binutils/binutils/testsuite/binutils-all
Nick Clifton 685080f210 Adds support for generating notes in V850 binaries.
bfd	* elf32-v850.c (v850_set_note): New function.  Creates a Renesas
	style note entry.
	(v850_elf_make_note_section): New function.  Creates a note
	section.
	(v850_elf_create_sections): New function.  Create a note section
	if one is not already present.
	(v850_elf_set_note): New function.  Adds a note to a bfd.
	(v850_elf_copy_private_bfd_data): New function.  Copies V850
	notes.
	(v850_elf_merge_notes): New function.  Merges V850 notes.
	(print_v850_note): New function.  Displays a V850 note.
	(v850_elf_print_notes): New function. Displays all notes attached
	to a bfd.
	(v850_elf_merge_private_bfd_data): Call v850_elf_merge_notes.
	(v850_elf_print_private_bfd_data): Call v850_elf_print_notes.
	(v850_elf_fake_sections): Set the type of the V850 note section.
	* bfd-in.h (v850_elf_create_sections): Add prototype.
	(v850_elf_set_note): Add prototype.
	* bfd-in2.h: Regenerate.

binutils* readelf.c (get_machine_flags): Remove deprecated V850 machine
	flags.
	(get_v850_section_type_name): New function.  Handles V850 special
	sections.
	(get_section_type_name): Add support for V850.
	(get_v850_elf_note_type): New function.  Returns the name of a
	V850 note.
	(print_v850_note): New function.  Prints a V850 note.
	(process_v850_notes): New function.  Prints V850 notes.
	(process_note_sections): Add support for V850.

binutils/testsute
	* binutils-all/objcopy.exp: Skip the strip-10 test for the V850.

gas	* config/tc-v850.c (soft_float): New variable.
	(v850_data_8): New variable.
	(md_show_usage): Add -msoft-float/-mhard-float.
	(md_parse_option): Likewise.
	(md_begin): Set the default value of soft_float.
	(v850_md_end): New function.  Creates a note section.
	* config/tc-v850.h (md_end): Define.
	* doc/c-v850.texi: Document -msoft-float/-mhard-float.

gas/testsuite
	* gas/elf/elf.exp: Add special version of the section2 test for
	the V850.
	* gas/elf/section2.e-v850: New file.

include/elf
	* v850.h (EF_RH850_SIMD): Delete deprecated flag.
	(EF_RH850_CACHE): Likewise.
	(EF_RH850_MMU): Likewise.
	(EF_RH850_DATA_ALIGN8): Likewise.
	(SHT_RENESAS_IOP): Fix typo in name.
	(SHT_RENESAS_INFO): Define.
	(V850_NOTE_SECNAME): Define.
	(SIZEOF_V850_NOTE): Define.
	(V850_NOTE_NAME): Define.
	(enum v850_notes): New enum.
	(NUM_V850_NOTES): Define.

ld/ChangeLog
2015-02-24  Nick Clifton  <nickc@redhat.com>

	* Makefile.am (ev850.c): Add dependency upon
	$(srcdir)/emultempl/v850elf.em.
	(ev850_rh850.c): Likewise.
	* Makefile.in: Regenerate.
	* emultempl/v850elf.em: New file.
	* emulparams/v850.sh (EXTRA_EM_FILE): Define.
	* emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define.
	* scripttempl/v850.sc: Add .note.renesas section.
	* scripttempl/v850_rh850.sc: Likewise.

ld/testsuite
	* ld-elf/extract-symbol-1sec.d: Expect to fail on the V850.
2015-02-24 17:54:09 +00:00
..
aarch64 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
arm ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
bfin ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
hppa ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i386 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m68k ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mips ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
vax ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
windres ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
x86-64 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
add-empty-section.d
add-section.d
alias-2.def
alias.def
ar.exp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
bintest.s
compress.exp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
copy-1.d
copy-1.s
copy-2.d
copy-3.d
copy-4.d
copytest.s
debug_str.d Fixes a problem with the BFD library running out of memory because it mistakenly 2014-04-30 17:04:04 +01:00
debug_str.s Fixes a problem with the BFD library running out of memory because it mistakenly 2014-04-30 17:04:04 +01:00
dlltool.exp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
dumptest.s
dw2-1.S ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
dw2-1.W PR binutils/16218 2013-12-20 13:52:23 +00:00
dw2-2.S ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
dw2-compressed.S ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
dw2-decodedline-1.S Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
dw2-decodedline.S
dw2-empty.S
elfedit-1.d
elfedit-2.d
elfedit-3.d
elfedit-4.d
elfedit.exp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
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.s
libdw2-compressed.out
libdw2.out
link-order.s
localize-hidden-1.d
localize-hidden-1.s
localize-hidden-2.d
localize-hidden-2.s
needed-by-reloc.s
nm-1.s * binutils-all/nm.exp: --size-sort test: Add more ELF-like 2013-08-22 11:29:43 +00:00
nm-elf-1.s binutils/ 2013-08-19 15:08:52 +00:00
nm.exp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
note-1.d
objcopy.exp Adds support for generating notes in V850 binaries. 2015-02-24 17:54:09 +00:00
objdump.exp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
objdump.s
objdump.W PR binutils/16218 2013-12-20 13:52:23 +00:00
objdump.WL
readelf.exp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
readelf.h
readelf.n PR binutils/15191 2013-02-26 16:59:52 +00:00
readelf.r Add support for Andes NDS32: 2013-12-13 11:52:32 +00:00
readelf.r-64
readelf.s [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
readelf.s-64 Set SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections 2013-12-19 11:34:47 -08:00
readelf.ss readelf -s test: Skip extra symbols produced by MSP430 assembler. 2014-03-17 11:00:32 +00:00
readelf.ss-64
readelf.ss-mips MIPS testsuite cleanup - part 1 2014-09-06 17:58:37 +01:00
readelf.ss-tmips [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
readelf.wa
size.exp ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
strip-1.d
strip-2.d
strip-3.d [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
strip-4.d
strip-5.d
strip-6.d
strip-7.d
strip-8.d
strip-9.d
strip-10.d My patch to the binutils strip-10.d test was wrong. The osabi field should always be set to 2014-01-29 14:01:54 +00:00
strip-11.d Delete unnecessary code copying SHF_SH5_ISA32 flag 2014-12-26 22:19:30 +10:30
testprog.c
testranges-ia64.d
testranges-ia64.s
testranges.d
testranges.s
unique.s
unknown.s
version.def
version.s