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.
This commit is contained in:
parent
c0c31e91ad
commit
8fb740dd30
13 changed files with 148 additions and 0 deletions
|
@ -528,6 +528,8 @@ DESCRIPTION
|
|||
.#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
|
||||
|
@ -654,6 +656,7 @@ extern const bfd_arch_info_type bfd_v850_arch;
|
|||
extern const bfd_arch_info_type bfd_v850_rh850_arch;
|
||||
extern const bfd_arch_info_type bfd_vax_arch;
|
||||
extern const bfd_arch_info_type bfd_visium_arch;
|
||||
extern const bfd_arch_info_type bfd_wasm32_arch;
|
||||
extern const bfd_arch_info_type bfd_w65_arch;
|
||||
extern const bfd_arch_info_type bfd_we32k_arch;
|
||||
extern const bfd_arch_info_type bfd_xstormy16_arch;
|
||||
|
@ -746,6 +749,7 @@ static const bfd_arch_info_type * const bfd_archures_list[] =
|
|||
&bfd_vax_arch,
|
||||
&bfd_visium_arch,
|
||||
&bfd_w65_arch,
|
||||
&bfd_wasm32_arch,
|
||||
&bfd_we32k_arch,
|
||||
&bfd_xstormy16_arch,
|
||||
&bfd_xtensa_arch,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue