binutils-gdb/ld/scripttempl
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
..
DWARF.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
README ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
aix.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
alpha.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
alphavms.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
aout.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
armaout.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
armbpabi.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
armcoff.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
avr.sc This patch modifies the AVR linker script templates to use __<name>_REGION_LENGTH__ symbols, if provided, for setting memory region lengths, defaulting to the current constant values otherwise. 2015-02-24 11:26:28 +00:00
avrtiny.sc This patch modifies the AVR linker script templates to use __<name>_REGION_LENGTH__ symbols, if provided, for setting memory region lengths, defaulting to the current constant values otherwise. 2015-02-24 11:26:28 +00:00
crisaout.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
delta68.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
dlx.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf.sc Reorder more powerpc64 sections again for -z relro 2015-01-20 21:46:07 +10:30
elf32cr16.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf32cr16c.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf32crx.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf32msp430.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf32msp430_3.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf32sh-symbian.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf32xc16x.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf32xc16xl.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf32xc16xs.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf64hppa.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elf_chaos.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elfd10v.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elfd30v.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elfi370.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elfm68hc11.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elfm68hc12.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elfmicroblaze.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elfxgate.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
elfxtensa.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
epiphany_4x4.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
epocpe.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ft32.sc FT32 initial support 2015-01-28 16:25:18 +10:30
h8300.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8300h.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8300hn.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8300s.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8300sn.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8300sx.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8300sxn.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8500.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8500b.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8500c.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8500m.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
h8500s.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
hppaelf.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i386beos.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i386coff.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i386go32.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i386msdos.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i860coff.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
i960.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ia64vms.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ip2k.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
iq2000.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m68kaux.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m68kcoff.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
m88kbcs.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mcorepe.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mep.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mips.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mipsbsd.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mmo.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
moxie.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nds32elf.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nw.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
pe.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
pep.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
pj.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ppcpe.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
psos.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
riscix.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
sh.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
sparccoff.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
st2000.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic4xcoff.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic30aout.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic30coff.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic54xcoff.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
tic80coff.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
v850.sc Adds support for generating notes in V850 binaries. 2015-02-24 17:54:09 +00:00
v850_rh850.sc Adds support for generating notes in V850 binaries. 2015-02-24 17:54:09 +00:00
vanilla.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
visium.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
w65.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
xstormy16.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
z80.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
z8000.sc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are linker script templates.
genscripts.sh sets some shell variables, then sources
EMULATION.sc, to generate EMULATION.{x,xr,xu,xn,xbn} -- the script
files for default, -r, -Ur, -n, -N.

Copyright (C) 2012-2015 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.