mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31: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.
111 lines
1.9 KiB
Plaintext
111 lines
1.9 KiB
Plaintext
@c Copyright (C) 1992-2017 Free Software Foundation, Inc.
|
|
@c This file is part of the documentation for the GAS manual
|
|
|
|
@c Configuration settings for all-inclusive version of manual
|
|
|
|
@c switches:------------------------------------------------------------
|
|
@c Properties of the manual
|
|
@c ========================
|
|
@c Discuss all architectures?
|
|
@set ALL-ARCH
|
|
@c A generic form of manual (not tailored to specific target)?
|
|
@set GENERIC
|
|
@c Include text on assembler internals?
|
|
@clear INTERNALS
|
|
@c Many object formats supported in this config?
|
|
@set MULTI-OBJ
|
|
|
|
@c Object formats of interest
|
|
@c ==========================
|
|
@set AOUT
|
|
@set COFF
|
|
@set ELF
|
|
@set SOM
|
|
|
|
@c CPUs of interest
|
|
@c ================
|
|
@set AARCH64
|
|
@set ALPHA
|
|
@set ARC
|
|
@set ARM
|
|
@set AVR
|
|
@set Blackfin
|
|
@set CR16
|
|
@set CRIS
|
|
@set D10V
|
|
@set D30V
|
|
@set EPIPHANY
|
|
@set H8/300
|
|
@set HPPA
|
|
@set I370
|
|
@set I80386
|
|
@set I860
|
|
@set I960
|
|
@set IA64
|
|
@set IP2K
|
|
@set LM32
|
|
@set M32C
|
|
@set M32R
|
|
@set xc16x
|
|
@set M68HC11
|
|
@set M680X0
|
|
@set MCORE
|
|
@set METAG
|
|
@set MICROBLAZE
|
|
@set MIPS
|
|
@set MMIX
|
|
@set MS1
|
|
@set MSP430
|
|
@set NIOSII
|
|
@set NDS32
|
|
@set NS32K
|
|
@set PDP11
|
|
@set PJ
|
|
@set PPC
|
|
@set PRU
|
|
@set RL78
|
|
@set RISCV
|
|
@set RX
|
|
@set S390
|
|
@set SCORE
|
|
@set SH
|
|
@set SPARC
|
|
@set TIC54X
|
|
@set TIC6X
|
|
@set TILEGX
|
|
@set TILEPRO
|
|
@set V850
|
|
@set VAX
|
|
@set VISIUM
|
|
@set WASM32
|
|
@set XGATE
|
|
@set XSTORMY16
|
|
@set XTENSA
|
|
@set Z80
|
|
@set Z8000
|
|
|
|
@c Does this version of the assembler use the difference-table kludge?
|
|
@set DIFF-TBL-KLUGE
|
|
|
|
@c Do all machines described use IEEE floating point?
|
|
@clear IEEEFLOAT
|
|
|
|
@c Is a word 32 bits, or 16?
|
|
@clear W32
|
|
@set W16
|
|
|
|
@c Do symbols have different characters than usual?
|
|
@clear SPECIAL-SYMS
|
|
|
|
@c strings:------------------------------------------------------------
|
|
@c Name of the assembler:
|
|
@set AS as
|
|
@c Name of C compiler:
|
|
@set GCC gcc
|
|
@c Name of linker:
|
|
@set LD ld
|
|
@c Text for target machine (best not used in generic case; but just in case...)
|
|
@set TARGET machine specific
|
|
@c Name of object format NOT SET in generic version
|
|
@clear OBJ-NAME
|