old-cross-binutils/ld/scripttempl
Barney Stratford f36e88862f Add support for the AVR Tiny series of microcontrollers.
* archures.c: add avrtiny architecture for avr target.
	* bfd-in2.h: Regenerate.
	* cpu-avr.c (arch_info_struct): add avrtiny arch info.
	* elf32-avr.c (elf_avr_howto_table): new relocation R_AVR_LDS_STS_16
	added for 16 bit LDS/STS instruction of avrtiny arch.
	(avr_reloc_map): reloc R_AVR_LDS_STS_16 is mapped to
	BFD_RELOC_AVR_LDS_STS_16.
	(bfd_elf_avr_final_write_processing): select machine number avrtiny arch.
	(elf32_avr_object_p): set machine number for avrtiny arch.
	* libbfd.h: Regenerate.
	* reloc.c: Add documentation for BFD_RELOC_AVR_LDS_STS_16 reloc.

         * config/tc-avr.c (mcu_types): Add avrtiny arch.
	Add avrtiny arch devices attiny4, attiny5, attiny9, attiny10, attiny20
	and attiny40.
	(md_show_usage): Add avrtiny arch in usage message.
	(avr_operand): validate and issue error for invalid register for avrtiny.
	add new reloc exp for 16 bit lds/sts instruction.
	(md_apply_fix): check 16 bit lds/sts operand for out of range and encode.
	(md_assemble): check ISA for arch and issue diagnostic.

	* include/elf/avr.h (E_AVR_MACH_AVRTINY): define avrtiny machine number.
	(R_AVR_LDS_STS_16): define 16 bit lds/sts reloc number.
	* include/opcode/avr.h (AVR_ISA_TINY): define avrtiny specific ISA.
	(AVR_ISA_2xxxa): define ISA without LPM.
	(AVR_ISA_AVRTINY): define avrtiny arch ISA.
	Add doc for contraint used in 16 bit lds/sts.
	Adjust ISA group for icall, ijmp, pop and push.
	Add 16 bit lds/sts encoding and update 32 bit lds/sts constraints.
	* opcodes/avr-dis.c (avr_operand): Handle constraint j for 16 bit lds/sts.
	(print_insn_avr): do not select opcode if insn ISA is avrtiny and machine
	is not avrtiny.

	* Makefile.am (ALL_EMULATION_SOURCES): add avrtiny emulation source.
	(eavrtiny.c): add rules for avrtiny emulation source.
	* Makefile.in: Regenerate.
	* configure.tgt: Add avrtiny to avr target emulations.
	* scripttempl/avrtiny.sc: New file.
	linker script template for avrtiny arch.
	* emulparams/avrtiny.sh: New file.
	emulation parameters for avrtiny arch.
2014-07-01 10:20:17 +01:00
..
aix.sc 2011-11-03 Tristan Gingold <gingold@adacore.com> 2011-11-03 11:53:39 +00:00
alpha.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
alphavms.sc * scripttempl/alphavms.sc: Add .debug_macro section. 2012-06-29 07:58:46 +00:00
aout.sc
armaout.sc
armbpabi.sc ld/ 2013-04-28 14:52:55 +00:00
armcoff.sc * scripttempl/armcoff.sc: Revert 2010-09-22 change. 2010-09-24 04:41:12 +00:00
avr.sc * scripttempl/avr.sc: Set .data section's LMA to next available 2013-11-22 12:00:55 +00:00
avrtiny.sc Add support for the AVR Tiny series of microcontrollers. 2014-07-01 10:20:17 +01:00
crisaout.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
delta68.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
dlx.sc
DWARF.sc * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from 2013-04-29 13:38:59 +00:00
elf.sc Fix duplicated assignments to __rel_iplt and __rela_iplt symbols 2014-06-16 22:32:45 +09:30
elf32cr16.sc ld/ 2013-04-28 14:52:55 +00:00
elf32cr16c.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
elf32crx.sc ld/ 2013-04-28 14:52:55 +00:00
elf32msp430.sc * scripttempl/elf32msp430.sc (.data): Set the based on the next 2013-11-20 16:51:21 +00:00
elf32msp430_3.sc * scripttempl/elf32msp430.sc (.data): Set the based on the next 2013-11-20 16:51:21 +00:00
elf32sh-symbian.sc ld/ 2013-04-28 14:52:55 +00:00
elf32xc16x.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
elf32xc16xl.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
elf32xc16xs.sc PR ld/6766 2009-09-13 07:19:18 +00:00
elf64hppa.sc ld/ 2013-04-28 14:52:55 +00:00
elf_chaos.sc ld/ 2013-04-28 14:52:55 +00:00
elfd10v.sc ld/ 2013-04-28 14:52:55 +00:00
elfd30v.sc ld/ 2013-04-28 14:52:55 +00:00
elfi370.sc ld/ 2013-04-28 14:52:55 +00:00
elfm68hc11.sc ld/ 2013-04-28 14:52:55 +00:00
elfm68hc12.sc ld/ 2013-04-28 14:52:55 +00:00
elfmicroblaze.sc Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
elfxgate.sc ld/ 2013-04-28 14:52:55 +00:00
elfxtensa.sc ld/ 2013-04-28 14:52:55 +00:00
epiphany_4x4.sc ld/ 2013-04-28 14:52:55 +00:00
epocpe.sc Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
h8300.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300h.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300hn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300s.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sx.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sxn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8500.sc
h8500b.sc
h8500c.sc
h8500m.sc
h8500s.sc
hppaelf.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386beos.sc ld/ 2013-04-28 14:52:55 +00:00
i386coff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386go32.sc ld/ 2013-04-28 14:52:55 +00:00
i386msdos.sc
i860coff.sc 2003-08-04 Christian Groessler <chris@groessler.org> 2003-08-06 02:19:05 +00:00
i960.sc
ia64vms.sc 2013-07-08 Tristan Gingold <gingold@adacore.com> 2013-07-08 13:02:21 +00:00
ip2k.sc ld/ 2013-04-28 14:52:55 +00:00
iq2000.sc ld/ 2013-04-28 14:52:55 +00:00
m68kaux.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
m68kcoff.sc
m88kbcs.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
mcorepe.sc Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
mep.sc ld/ 2013-04-28 14:52:55 +00:00
mips.sc ld/ 2012-08-06 22:40:36 +00:00
mipsbsd.sc
mmo.sc ld/ 2013-04-28 14:52:55 +00:00
moxie.sc Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
nds32elf.sc Fix duplicated assignments to __rel_iplt and __rela_iplt symbols 2014-06-16 22:32:45 +09:30
nw.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
pe.sc This patch removes the inclusion of the default manifest in final links for 2014-04-08 17:45:33 +01:00
pep.sc This patch removes the inclusion of the default manifest in final links for 2014-04-08 17:45:33 +01:00
pj.sc
ppcpe.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
psos.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
README Update copyright years 2014-03-05 22:16:15 +10:30
riscix.sc
sh.sc
sparccoff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
st2000.sc
tic4xcoff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
tic30aout.sc
tic30coff.sc
tic54xcoff.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
tic80coff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
v850.sc ld/ 2013-04-28 14:52:55 +00:00
v850_rh850.sc ld/ 2013-04-28 14:52:55 +00:00
vanilla.sc
w65.sc
xstormy16.sc ld/ 2013-04-28 14:52:55 +00:00
z80.sc Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
z8000.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00

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-2014 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.