mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
f96bd6c2d7
binutils * readelf.c: Add support for wasm32 ELF format WebAssembly files. (guess_is_rela): Likewise. (dump_relocations): Likewise. (is_32bit_abs_reloc): Likewise. (is_none_reloc_): Likewise. * NEWS: Mention the new support. * testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32 as ELF target. (supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE. * testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations. * testsuite/binutils-all/wasm32: New directory. * testsuite/binutils-all/wasm32/create-wasm.d: New file. * testsuite/binutils-all/wasm32/create-wasm.s: Likewise. * testsuite/binutils-all/wasm32/custom-section.d: Likewise. * testsuite/binutils-all/wasm32/custom-section.s: Likewise. * testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise. * testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise. * testsuite/binutils-all/wasm32/long-sections.d: Likewise. * testsuite/binutils-all/wasm32/long-sections.s: Likewise. * testsuite/binutils-all/wasm32/parse-wasm.d: Likewise. * testsuite/binutils-all/wasm32/parse-wasm.s: Likewise. * testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise. * testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise. * testsuite/binutils-all/wasm32/prepared-section.d: Likewise. * testsuite/binutils-all/wasm32/prepared-section.s: Likewise. * testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests. gas * config/tc-wasm32.h: New file: Add WebAssembly assembler target. * config/tc-wasm32.c: New file: Add WebAssembly assembler target. * Makefile.am: Add WebAssembly assembler target. * configure.tgt: Add WebAssembly assembler target. * doc/c-wasm32.texi: New file: Start documenting WebAssembly assembler. * doc/all.texi: Define WASM32. * doc/as.texinfo: Add WebAssembly entries. * NEWS: Mention the new support. * Makefile.in: Regenerate. * po/gas.pot: Regenerate. * po/POTFILES.in: Regenerate. * testsuite/gas/wasm32: New directory. * testsuite/gas/wasm32/allinsn.d: New file. * testsuite/gas/wasm32/allinsn.s: New file. * testsuite/gas/wasm32/illegal.l: New file. * testsuite/gas/wasm32/illegal.s: New file. * testsuite/gas/wasm32/illegal-2.l: New file. * testsuite/gas/wasm32/illegal-2.s: New file. * testsuite/gas/wasm32/illegal-3.l: New file. * testsuite/gas/wasm32/illegal-3.s: New file. * testsuite/gas/wasm32/illegal-4.l: New file. * testsuite/gas/wasm32/illegal-4.s: New file. * testsuite/gas/wasm32/illegal-5.l: New file. * testsuite/gas/wasm32/illegal-5.s: New file. * testsuite/gas/wasm32/illegal-6.l: New file. * testsuite/gas/wasm32/illegal-6.s: New file. * testsuite/gas/wasm32/illegal-7.l: New file. * testsuite/gas/wasm32/illegal-7.s: New file. * testsuite/gas/wasm32/illegal-8.l: New file. * testsuite/gas/wasm32/illegal-8.s: New file. * testsuite/gas/wasm32/illegal-9.l: New file. * testsuite/gas/wasm32/illegal-9.s: New file. * testsuite/gas/wasm32/illegal-10.l: New file. * testsuite/gas/wasm32/illegal-10.s: New file. * testsuite/gas/wasm32/illegal-11.l: New file. * testsuite/gas/wasm32/illegal-11.s: New file. * testsuite/gas/wasm32/illegal-12.l: New file. * testsuite/gas/wasm32/illegal-12.s: New file. * testsuite/gas/wasm32/illegal-13.l: New file. * testsuite/gas/wasm32/illegal-13.s: New file. * testsuite/gas/wasm32/illegal-14.l: New file. * testsuite/gas/wasm32/illegal-14.s: New file. * testsuite/gas/wasm32/illegal-15.l: New file. * testsuite/gas/wasm32/illegal-15.s: New file. * testsuite/gas/wasm32/illegal-16.l: New file. * testsuite/gas/wasm32/illegal-16.s: New file. * testsuite/gas/wasm32/illegal-17.l: New file. * testsuite/gas/wasm32/illegal-17.s: New file. * testsuite/gas/wasm32/illegal-18.l: New file. * testsuite/gas/wasm32/illegal-18.s: New file. * testsuite/gas/wasm32/illegal-19.l: New file. * testsuite/gas/wasm32/illegal-19.s: New file. * testsuite/gas/wasm32/illegal-20.l: New file. * testsuite/gas/wasm32/illegal-20.s: New file. * testsuite/gas/wasm32/illegal-21.l: New file. * testsuite/gas/wasm32/illegal-21.s: New file. * testsuite/gas/wasm32/illegal-22.l: New file. * testsuite/gas/wasm32/illegal-22.s: New file. * testsuite/gas/wasm32/illegal-24.l: New file. * testsuite/gas/wasm32/illegal-24.s: New file. * testsuite/gas/wasm32/illegal-25.l: New file. * testsuite/gas/wasm32/illegal-25.s: New file. * testsuite/gas/wasm32/reloc.d: New file. * testsuite/gas/wasm32/reloc.s: New file. * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly architecture. opcodes * configure.ac: Add (empty) bfd_wasm32_arch target. * configure: Regenerate * po/opcodes.pot: Regenerate. include * opcode/wasm.h: New file to support wasm32 architecture. * elf/wasm32.h: Add R_WASM32_32 relocation. bfd * elf32-wasm32.c: Add relocation code, two relocs. * reloc.c: Add wasm32 relocations. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * bfd/po/bfd.pot: Regenerate.
274 lines
4.3 KiB
Plaintext
274 lines
4.3 KiB
Plaintext
app.c
|
|
as.c
|
|
as.h
|
|
asintl.h
|
|
atof-generic.c
|
|
bignum.h
|
|
bit_fix.h
|
|
cgen.c
|
|
cgen.h
|
|
compress-debug.c
|
|
compress-debug.h
|
|
cond.c
|
|
config/atof-ieee.c
|
|
config/atof-vax.c
|
|
config/e-crisaout.c
|
|
config/e-criself.c
|
|
config/e-i386aout.c
|
|
config/e-i386coff.c
|
|
config/e-i386elf.c
|
|
config/e-mipself.c
|
|
config/obj-aout.c
|
|
config/obj-aout.h
|
|
config/obj-coff.c
|
|
config/obj-coff.h
|
|
config/obj-ecoff.c
|
|
config/obj-ecoff.h
|
|
config/obj-elf.c
|
|
config/obj-elf.h
|
|
config/obj-evax.c
|
|
config/obj-evax.h
|
|
config/obj-fdpicelf.c
|
|
config/obj-fdpicelf.h
|
|
config/obj-macho.c
|
|
config/obj-macho.h
|
|
config/obj-multi.c
|
|
config/obj-multi.h
|
|
config/obj-som.c
|
|
config/obj-som.h
|
|
config/tc-aarch64.c
|
|
config/tc-aarch64.h
|
|
config/tc-alpha.c
|
|
config/tc-alpha.h
|
|
config/tc-arc.c
|
|
config/tc-arc.h
|
|
config/tc-arm.c
|
|
config/tc-arm.h
|
|
config/tc-avr.c
|
|
config/tc-avr.h
|
|
config/tc-bfin.c
|
|
config/tc-bfin.h
|
|
config/tc-cr16.c
|
|
config/tc-cr16.h
|
|
config/tc-cris.c
|
|
config/tc-cris.h
|
|
config/tc-crx.c
|
|
config/tc-crx.h
|
|
config/tc-d10v.c
|
|
config/tc-d10v.h
|
|
config/tc-d30v.c
|
|
config/tc-d30v.h
|
|
config/tc-dlx.c
|
|
config/tc-dlx.h
|
|
config/tc-epiphany.c
|
|
config/tc-epiphany.h
|
|
config/tc-fr30.c
|
|
config/tc-fr30.h
|
|
config/tc-frv.c
|
|
config/tc-frv.h
|
|
config/tc-ft32.c
|
|
config/tc-ft32.h
|
|
config/tc-h8300.c
|
|
config/tc-h8300.h
|
|
config/tc-hppa.c
|
|
config/tc-hppa.h
|
|
config/tc-i370.c
|
|
config/tc-i370.h
|
|
config/tc-i386.c
|
|
config/tc-i386.h
|
|
config/tc-i860.c
|
|
config/tc-i860.h
|
|
config/tc-i960.c
|
|
config/tc-i960.h
|
|
config/tc-ia64.c
|
|
config/tc-ia64.h
|
|
config/tc-ip2k.c
|
|
config/tc-ip2k.h
|
|
config/tc-iq2000.c
|
|
config/tc-iq2000.h
|
|
config/tc-lm32.c
|
|
config/tc-lm32.h
|
|
config/tc-m32c.c
|
|
config/tc-m32c.h
|
|
config/tc-m32r.c
|
|
config/tc-m32r.h
|
|
config/tc-m68hc11.c
|
|
config/tc-m68hc11.h
|
|
config/tc-m68k.c
|
|
config/tc-m68k.h
|
|
config/tc-mcore.c
|
|
config/tc-mcore.h
|
|
config/tc-mep.c
|
|
config/tc-mep.h
|
|
config/tc-metag.c
|
|
config/tc-metag.h
|
|
config/tc-microblaze.c
|
|
config/tc-microblaze.h
|
|
config/tc-mips.c
|
|
config/tc-mips.h
|
|
config/tc-mmix.c
|
|
config/tc-mmix.h
|
|
config/tc-mn10200.c
|
|
config/tc-mn10200.h
|
|
config/tc-mn10300.c
|
|
config/tc-mn10300.h
|
|
config/tc-moxie.c
|
|
config/tc-msp430.c
|
|
config/tc-msp430.h
|
|
config/tc-mt.c
|
|
config/tc-mt.h
|
|
config/tc-nds32.c
|
|
config/tc-nds32.h
|
|
config/tc-nios2.c
|
|
config/tc-nios2.h
|
|
config/tc-ns32k.c
|
|
config/tc-ns32k.h
|
|
config/tc-or1k.c
|
|
config/tc-or1k.h
|
|
config/tc-pdp11.c
|
|
config/tc-pdp11.h
|
|
config/tc-pj.c
|
|
config/tc-pj.h
|
|
config/tc-ppc.c
|
|
config/tc-ppc.h
|
|
config/tc-pru.c
|
|
config/tc-pru.h
|
|
config/tc-riscv.c
|
|
config/tc-riscv.h
|
|
config/tc-rl78.c
|
|
config/tc-rl78.h
|
|
config/tc-rx.c
|
|
config/tc-rx.h
|
|
config/tc-s390.c
|
|
config/tc-s390.h
|
|
config/tc-score.c
|
|
config/tc-score.h
|
|
config/tc-sh.c
|
|
config/tc-sh.h
|
|
config/tc-sh64.c
|
|
config/tc-sh64.h
|
|
config/tc-sparc.c
|
|
config/tc-sparc.h
|
|
config/tc-spu.c
|
|
config/tc-spu.h
|
|
config/tc-tic30.c
|
|
config/tc-tic30.h
|
|
config/tc-tic4x.c
|
|
config/tc-tic4x.h
|
|
config/tc-tic54x.c
|
|
config/tc-tic54x.h
|
|
config/tc-tic6x.c
|
|
config/tc-tic6x.h
|
|
config/tc-tilegx.c
|
|
config/tc-tilegx.h
|
|
config/tc-tilepro.c
|
|
config/tc-tilepro.h
|
|
config/tc-v850.c
|
|
config/tc-v850.h
|
|
config/tc-vax.c
|
|
config/tc-vax.h
|
|
config/tc-visium.c
|
|
config/tc-visium.h
|
|
config/tc-wasm32.c
|
|
config/tc-wasm32.h
|
|
config/tc-xc16x.c
|
|
config/tc-xc16x.h
|
|
config/tc-xgate.c
|
|
config/tc-xgate.h
|
|
config/tc-xstormy16.c
|
|
config/tc-xstormy16.h
|
|
config/tc-xtensa.c
|
|
config/tc-xtensa.h
|
|
config/tc-z80.c
|
|
config/tc-z80.h
|
|
config/tc-z8k.c
|
|
config/tc-z8k.h
|
|
config/te-386bsd.h
|
|
config/te-aix5.h
|
|
config/te-armeabi.h
|
|
config/te-armfbsdeabi.h
|
|
config/te-armfbsdvfp.h
|
|
config/te-armlinuxeabi.h
|
|
config/te-dynix.h
|
|
config/te-epoc-pe.h
|
|
config/te-freebsd.h
|
|
config/te-generic.h
|
|
config/te-gnu.h
|
|
config/te-go32.h
|
|
config/te-hppa.h
|
|
config/te-hppa64.h
|
|
config/te-hppalinux64.h
|
|
config/te-i386aix.h
|
|
config/te-ia64aix.h
|
|
config/te-interix.h
|
|
config/te-lynx.h
|
|
config/te-mach.h
|
|
config/te-macos.h
|
|
config/te-nbsd.h
|
|
config/te-nbsd532.h
|
|
config/te-netware.h
|
|
config/te-pc532mach.h
|
|
config/te-pe.h
|
|
config/te-psos.h
|
|
config/te-riscix.h
|
|
config/te-solaris.h
|
|
config/te-sparcaout.h
|
|
config/te-sun3.h
|
|
config/te-svr4.h
|
|
config/te-symbian.h
|
|
config/te-tmips.h
|
|
config/te-vms.c
|
|
config/te-vxworks.h
|
|
config/te-wince-pe.h
|
|
config/xtensa-relax.c
|
|
config/xtensa-relax.h
|
|
depend.c
|
|
dw2gencfi.c
|
|
dw2gencfi.h
|
|
dwarf2dbg.c
|
|
dwarf2dbg.h
|
|
ecoff.c
|
|
ecoff.h
|
|
ehopt.c
|
|
emul-target.h
|
|
emul.h
|
|
expr.c
|
|
expr.h
|
|
flonum-copy.c
|
|
flonum-konst.c
|
|
flonum-mult.c
|
|
flonum.h
|
|
frags.c
|
|
frags.h
|
|
hash.c
|
|
hash.h
|
|
input-file.c
|
|
input-file.h
|
|
input-scrub.c
|
|
itbl-lex.h
|
|
itbl-ops.c
|
|
itbl-ops.h
|
|
listing.c
|
|
listing.h
|
|
literal.c
|
|
macro.c
|
|
macro.h
|
|
messages.c
|
|
obj.h
|
|
output-file.c
|
|
output-file.h
|
|
read.c
|
|
read.h
|
|
remap.c
|
|
sb.c
|
|
sb.h
|
|
stabs.c
|
|
struc-symbol.h
|
|
subsegs.c
|
|
subsegs.h
|
|
symbols.c
|
|
symbols.h
|
|
tc.h
|
|
write.c
|
|
write.h
|