aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
authorPip Cet <pipcet@gmail.com>2017-03-27 11:39:50 +0100
committerNick Clifton <nickc@redhat.com>2017-03-27 11:39:50 +0100
commit8fb740dd3032543b833b141011aa2005c035d024 (patch)
tree34de95e73bd28e877d1a1259d19fbe088f0329b2 /bfd/config.bfd
parentc0c31e91adc6aabe7c96f02dd51a0f6200a982da (diff)
downloadgdb-8fb740dd3032543b833b141011aa2005c035d024.zip
gdb-8fb740dd3032543b833b141011aa2005c035d024.tar.gz
gdb-8fb740dd3032543b833b141011aa2005c035d024.tar.bz2
Add minimal support for WebAssembly backend to the BFD library.
include * elf/wasm32.h: New file to support wasm32 architecture. bfd * cpu-wasm32.c: New file to support wasm32 architecture. * elf32-wasm32.c: New file to support wasm32 architecture. * Makefile.am: Add wasm32 architecture. * archures.c: Likewise. * config.bfd: Likewise. * configure.ac: Likewise. * targets.c: Likewise.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r--bfd/config.bfd5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 52db9a4..abcb7ae 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -197,6 +197,7 @@ tilegx*) targ_archs=bfd_tilegx_arch ;;
tilepro*) targ_archs=bfd_tilepro_arch ;;
v850*) targ_archs="bfd_v850_arch bfd_v850_rh850_arch" ;;
visium*) targ_archs=bfd_visium_arch ;;
+wasm32) targ_archs=bfd_wasm32_arch ;;
x86_64*) targ_archs=bfd_i386_arch ;;
xtensa*) targ_archs=bfd_xtensa_arch ;;
xgate) targ_archs=bfd_xgate_arch ;;
@@ -1793,6 +1794,10 @@ case "${targ}" in
targ_defvec=visium_elf32_vec
;;
+ wasm32-*-*)
+ targ_defvec=wasm32_elf32_vec
+ ;;
+
we32k-*-*)
targ_defvec=we32k_coff_vec
;;