diff options
author | Pip Cet <pipcet@gmail.com> | 2017-03-27 11:39:50 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-03-27 11:39:50 +0100 |
commit | 8fb740dd3032543b833b141011aa2005c035d024 (patch) | |
tree | 34de95e73bd28e877d1a1259d19fbe088f0329b2 /bfd/bfd-in2.h | |
parent | c0c31e91adc6aabe7c96f02dd51a0f6200a982da (diff) | |
download | gdb-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/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 59403af..adfcefd 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -2372,6 +2372,8 @@ enum bfd_architecture #define bfd_mach_nios2r2 2 bfd_arch_visium, /* Visium */ #define bfd_mach_visium 1 + bfd_arch_wasm32, /* WebAssembly */ +#define bfd_mach_wasm32 1 bfd_arch_pru, /* PRU */ #define bfd_mach_pru 0 bfd_arch_last |