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/targets.c | |
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/targets.c')
-rw-r--r-- | bfd/targets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index 1a7c6b8..74559ac 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -893,6 +893,7 @@ extern const bfd_target vax_aout_nbsd_vec; extern const bfd_target vax_elf32_vec; extern const bfd_target visium_elf32_vec; extern const bfd_target w65_coff_vec; +extern const bfd_target wasm32_elf32_vec; extern const bfd_target we32k_coff_vec; extern const bfd_target x86_64_coff_vec; extern const bfd_target x86_64_elf32_vec; @@ -1421,6 +1422,8 @@ static const bfd_target * const _bfd_target_vector[] = &w65_coff_vec, + &wasm32_elf32_vec, + &we32k_coff_vec, #ifdef BFD64 |