binutils-gdb/ld/emulparams
Nick Clifton e23eba971d Add support for RISC-V architecture.
bfd	* Makefile.am: Add entries for riscv32-elf and riscv64-elf.
	* config.bdf: Likewise.
	* configure.ac: Likewise.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* archures.c: Add bfd_riscv_arch.
	* reloc.c: Add riscv relocs.
	* targets.c: Add riscv_elf32_vec and riscv_elf64_vec.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* elf-bfd.h: Add RISCV_ELF_DATA to enum elf_target_id.
	* elfnn-riscv.c: New file.
	* elfxx-riscv.c: New file.
	* elfxx-riscv.h: New file.

binutils* readelf.c (guess_is_rela): Add EM_RISCV.
	(get_machine_name): Likewise.
	(dump_relocations): Add support for riscv relocations.
	(get_machine_flags): Add support for riscv flags.
	(is_32bit_abs_reloc): Add R_RISCV_32.
	(is_64bit_abs_reloc): Add R_RISCV_64.
	(is_none_reloc): Add R_RISCV_NONE.
	* testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
	Expect the debug_ranges test to fail.

gas	* Makefile.am: Add riscv files.
	* Makefile.in: Regenerate.
	* NEWS: Mention the support for this architecture.
	* configure.in: Define a default architecture.
	* configure: Regenerate.
	* configure.tgt: Add entries for riscv.
	* doc/as.texinfo: Likewise.
	* testsuite/gas/all/gas.exp: Expect the redef tests to fail.
	* testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
	* config/tc-riscv.c: New file.
	* config/tc-riscv.h: New file.
	* doc/c-riscv.texi: New file.
	* testsuite/gas/riscv: New directory.
	* testsuite/gas/riscv/riscv.exp: New file.
	* testsuite/gas/riscv/t_insns.d: New file.
	* testsuite/gas/riscv/t_insns.s: New file.

ld	* Makefile.am: Add riscv files.
	* Makefile.in: Regenerate.
	* NEWS: Mention the support for this target.
	* configure.tgt: Add riscv entries.
	* emulparams/elf32lriscv-defs.sh: New file.
	* emulparams/elf32lriscv.sh: New file.
	* emulparams/elf64lriscv-defs.sh: New file.
	* emulparams/elf64lriscv.sh: New file.
	* emultempl/riscvelf.em: New file.

opcodes	* configure.ac: Add entry for bfd_riscv_arch.
	* configure: Regenerate.
	* disassemble.c (disassembler): Add support for riscv.
	(disassembler_usage): Likewise.
	* riscv-dis.c: New file.
	* riscv-opc.c: New file.

include	* dis-asm.h: Add prototypes for print_insn_riscv and
	print_riscv_disassembler_options.
	* elf/riscv.h: New file.
	* opcode/riscv-opc.h: New file.
	* opcode/riscv.h: New file.
2016-11-01 16:45:57 +00:00
..
aarch64cloudabi.sh Add support for AArch64 CloudABI binaries. 2015-10-29 13:49:03 +00:00
aarch64cloudabib.sh Add support for AArch64 CloudABI binaries. 2015-10-29 13:49:03 +00:00
aarch64elf32.sh Support -pie for aarch64*-elf targets. 2016-07-19 10:19:06 -07:00
aarch64elf32b.sh
aarch64elf.sh Support -pie for aarch64*-elf targets. 2016-07-19 10:19:06 -07:00
aarch64elfb.sh
aarch64fbsd.sh
aarch64fbsdb.sh
aarch64linux32.sh
aarch64linux32b.sh
aarch64linux.sh
aarch64linuxb.sh
aix5ppc.sh
aix5rs6.sh
aixppc.sh
aixrs6.sh
alpha.sh
alphavms.sh
arc-endianness.sh ld/arc: Make little endian default choice for linker scripts 2016-04-07 16:17:08 +01:00
arcelf_prof.sh ld/arc: Fix linker for big-endian arc targets 2016-04-05 23:08:28 +01:00
arcelf.sh [ARC] Fix/improve small data support. 2016-07-14 10:08:57 +02:00
arclinux_prof.sh ld/arc: Fix linker for big-endian arc targets 2016-04-05 23:08:28 +01:00
arclinux.sh [ARC] Emulation and default script template changes. 2016-05-19 15:06:50 +02:00
arcv2elf.sh ld/arc: Fix linker for big-endian arc targets 2016-04-05 23:08:28 +01:00
arcv2elfx.sh ld/arc: Fix linker for big-endian arc targets 2016-04-05 23:08:28 +01:00
arm_epoc_pe.sh
arm_wince_pe.sh
armaoutb.sh
armaoutl.sh
armcoff.sh
armelf_fbsd.sh
armelf_linux_eabi.sh
armelf_linux.sh
armelf_nacl.sh
armelf_nbsd.sh
armelf_phoenix.sh Add support for configuring for the ARM Phoenix target. 2016-05-23 13:53:07 +01:00
armelf_vxworks.sh
armelf.sh Support -pie for arm*-eabi targets. 2016-08-09 12:09:17 -07:00
armelfb_fbsd.sh
armelfb_linux_eabi.sh
armelfb_linux.sh
armelfb_nacl.sh
armelfb_nbsd.sh
armelfb.sh
armnbsd.sh
armnto.sh
armpe.sh
armsymbian.sh
avr1.sh
avr2.sh
avr3.sh
avr4.sh
avr5.sh
avr6.sh
avr25.sh
avr31.sh
avr35.sh
avr51.sh
avrtiny.sh
avrxmega1.sh
avrxmega2.sh
avrxmega3.sh
avrxmega4.sh
avrxmega5.sh
avrxmega6.sh
avrxmega7.sh
call_nop.sh Add "-z call-nop=PADDING" option to ld 2015-10-22 04:56:39 -07:00
coff_i860.sh
coff_sparc.sh
crisaout.sh
criself.sh
crislinux.sh
d10velf.sh
d30v_e.sh
d30v_o.sh
d30velf.sh
delta68.sh
dynamic_undefined_weak.sh [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
elf32_dlx.sh
elf32_i860.sh
elf32_i960.sh
elf32_sparc_sol2.sh
elf32_sparc_vxworks.sh
elf32_sparc.sh
elf32_spu.sh
elf32_tic6x_be.sh
elf32_tic6x_elf_be.sh
elf32_tic6x_elf_le.sh
elf32_tic6x_le.sh
elf32_tic6x_linux_be.sh
elf32_tic6x_linux_le.sh
elf32_x86_64_nacl.sh
elf32_x86_64.sh Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
elf32am33lin.sh
elf32b4300.sh
elf32bfin.sh
elf32bfinfd.sh
elf32bmip.sh
elf32bmipn32-defs.sh Add workaround for bash 4.2 scripting problem. 2016-10-06 13:49:09 +01:00
elf32bmipn32.sh
elf32bsmip.sh
elf32btsmip_fbsd.sh
elf32btsmip.sh
elf32btsmipn32_fbsd.sh
elf32btsmipn32.sh
elf32cr16.sh
elf32cr16c.sh
elf32crx.sh
elf32ebmip.sh
elf32ebmipvxworks.sh
elf32elmip.sh
elf32elmipvxworks.sh
elf32epiphany_4x4.sh
elf32epiphany.sh
elf32fr30.sh
elf32frv.sh
elf32frvfd.sh
elf32ft32.sh
elf32i370.sh
elf32ip2k.sh
elf32iq10.sh
elf32iq2000.sh
elf32l4300.sh
elf32lm32.sh
elf32lm32fd.sh
elf32lmip.sh
elf32lppc.sh
elf32lppclinux.sh
elf32lppcnto.sh
elf32lppcsim.sh
elf32lr5900.sh
elf32lr5900n32.sh
elf32lriscv-defs.sh Add support for RISC-V architecture. 2016-11-01 16:45:57 +00:00
elf32lriscv.sh Add support for RISC-V architecture. 2016-11-01 16:45:57 +00:00
elf32lsmip.sh
elf32ltsmip_fbsd.sh
elf32ltsmip.sh
elf32ltsmipn32_fbsd.sh
elf32ltsmipn32.sh
elf32m32c.sh
elf32mb_linux.sh
elf32mbel_linux.sh
elf32mcore.sh
elf32mep.sh
elf32metag.sh
elf32microblaze.sh
elf32microblazeel.sh
elf32mipswindiss.sh
elf32moxie.sh
elf32mt.sh
elf32or1k_linux.sh
elf32or1k.sh
elf32ppc_fbsd.sh
elf32ppc.sh
elf32ppccommon.sh
elf32ppclinux.sh
elf32ppcnto.sh
elf32ppcsim.sh
elf32ppcvxworks.sh
elf32ppcwindiss.sh
elf32rl78.sh
elf32rx.sh
elf32tilegx_be.sh
elf32tilegx.sh
elf32tilepro.sh
elf32vax.sh
elf32visium.sh
elf32xc16x.sh
elf32xc16xl.sh
elf32xc16xs.sh
elf32xstormy16.sh
elf32xtensa.sh
elf64_aix.sh
elf64_ia64_fbsd.sh
elf64_ia64_vms.sh
elf64_ia64.sh
elf64_s390.sh S/390: Move binary start to 16M. 2016-10-10 17:09:03 +02:00
elf64_sparc_fbsd.sh
elf64_sparc_sol2.sh
elf64_sparc.sh
elf64alpha_fbsd.sh
elf64alpha_nbsd.sh
elf64alpha.sh
elf64bmip-defs.sh
elf64bmip.sh
elf64btsmip_fbsd.sh
elf64btsmip.sh
elf64hppa.sh
elf64lppc.sh
elf64lriscv-defs.sh Add support for RISC-V architecture. 2016-11-01 16:45:57 +00:00
elf64lriscv.sh Add support for RISC-V architecture. 2016-11-01 16:45:57 +00:00
elf64ltsmip_fbsd.sh
elf64ltsmip.sh
elf64mmix.sh
elf64ppc_fbsd.sh
elf64ppc.sh
elf64rdos.sh
elf64tilegx_be.sh
elf64tilegx.sh
elf_fbsd.sh
elf_i386_be.sh Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
elf_i386_chaos.sh Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
elf_i386_fbsd.sh
elf_i386_ldso.sh Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
elf_i386_nacl.sh
elf_i386_sol2.sh
elf_i386_vxworks.sh Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
elf_i386.sh Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
elf_iamcu.sh More setting CHECK_RELOCS_AFTER_OPEN_INPUT to yes 2016-05-05 08:43:58 -07:00
elf_k1om_fbsd.sh
elf_k1om.sh More setting CHECK_RELOCS_AFTER_OPEN_INPUT to yes 2016-05-05 08:43:58 -07:00
elf_l1om_fbsd.sh
elf_l1om.sh More setting CHECK_RELOCS_AFTER_OPEN_INPUT to yes 2016-05-05 08:43:58 -07:00
elf_nacl.sh
elf_s390.sh
elf_x86_64_cloudabi.sh
elf_x86_64_fbsd.sh
elf_x86_64_nacl.sh
elf_x86_64_sol2.sh
elf_x86_64.sh Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
extern_protected_data.sh [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
gld960.sh
gld960coff.sh
h8300.sh
h8300elf_linux.sh
h8300elf.sh
h8300h.sh
h8300helf_linux.sh
h8300helf.sh
h8300hn.sh
h8300hnelf.sh
h8300s.sh
h8300self_linux.sh
h8300self.sh
h8300sn.sh
h8300snelf.sh
h8300sx.sh
h8300sxelf_linux.sh
h8300sxelf.sh
h8300sxn.sh
h8300sxnelf.sh
h8500.sh
h8500b.sh
h8500c.sh
h8500m.sh
h8500s.sh
hp3hpux.sh
hp300bsd.sh
hppa64linux.sh
hppaelf.sh
hppalinux.sh
hppanbsd.sh
hppaobsd.sh
i386aout.sh
i386beos.sh
i386bsd.sh
i386coff.sh
i386go32.sh
i386linux.sh
i386lynx.sh
i386mach.sh
i386moss.sh
i386msdos.sh
i386nbsd.sh
i386nto.sh Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
i386nw.sh
i386pe_posix.sh
i386pe.sh
i386pep.sh
lnk960.sh
m32relf_linux.sh
m32relf.sh
m32rlelf_linux.sh
m32rlelf.sh
m68hc11elf.sh
m68hc11elfb.sh
m68hc12elf.sh
m68hc12elfb.sh
m68k4knbsd.sh
m68kaout.sh
m68kaux.sh
m68kcoff.sh
m68kelf.sh
m68kelfnbsd.sh
m68klinux.sh
m68knbsd.sh
m68kpsos.sh
m88kbcs.sh
mcorepe.sh
mmo.sh
mn10200.sh
mn10300.sh
moxiebox.sh
msp430elf.sh Fix the execution of the MSP430 simulator testsuite. 2016-01-05 16:43:58 +00:00
msp430X.sh
nds32belf16m.sh
nds32belf_linux.sh
nds32belf.sh
nds32elf16m.sh
nds32elf_linux.sh
nds32elf.sh
news.sh
nios2elf.sh
nios2linux.sh
ns32knbsd.sh
pc532macha.sh
pdp11.sh
pjelf.sh
pjlelf.sh
plt_unwind.sh
ppclynx.sh
ppcmacos.sh
ppcnw.sh
ppcpe.sh
README Copyright update for binutils 2016-01-01 23:00:01 +10:30
reloc_overflow.sh Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
riscix.sh
score3_elf.sh
score7_elf.sh
sh.sh
shelf32_linux.sh
shelf32_nbsd.sh
shelf32.sh Fix SH GOT allocation in the presence of linker garbage collection. 2016-08-02 11:56:55 +01:00
shelf64_nbsd.sh
shelf64.sh
shelf_fd.sh
shelf_linux.sh
shelf_nbsd.sh
shelf_nto.sh Fix SH GOT allocation in the presence of linker garbage collection. 2016-08-02 11:56:55 +01:00
shelf_uclinux.sh
shelf_vxworks.sh Fix SH GOT allocation in the presence of linker garbage collection. 2016-08-02 11:56:55 +01:00
shelf.sh Fix SH GOT allocation in the presence of linker garbage collection. 2016-08-02 11:56:55 +01:00
shl.sh
shlelf32_linux.sh Fix SH GOT allocation in the presence of linker garbage collection. 2016-08-02 11:56:55 +01:00
shlelf32_nbsd.sh
shlelf32.sh
shlelf64_nbsd.sh
shlelf64.sh
shlelf_fd.sh
shlelf_linux.sh Fix SH GOT allocation in the presence of linker garbage collection. 2016-08-02 11:56:55 +01:00
shlelf_nbsd.sh
shlelf_nto.sh Fix SH GOT allocation in the presence of linker garbage collection. 2016-08-02 11:56:55 +01:00
shlelf_vxworks.sh
shlelf.sh
shlsymbian.sh
shpe.sh
solaris2.sh
sparcaout.sh
sparclinux.sh
sparcnbsd.sh
st2000.sh
sun3.sh
sun4.sh
tic3xcoff_onchip.sh
tic3xcoff.sh
tic4xcoff.sh
tic30aout.sh
tic30coff.sh
tic54xcoff.sh
tic80coff.sh
v850_rh850.sh
v850.sh
vanilla.sh
vax.sh
vaxnbsd.sh
vsta.sh
vxworks.sh
w65.sh
xgateelf.sh
z80.sh
z8001.sh
z8002.sh

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 read by genscripts.sh as shell commands.
They set parameters for the emulations.

Copyright (C) 2012-2016 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.