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 /include/elf/wasm32.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 'include/elf/wasm32.h')
-rw-r--r-- | include/elf/wasm32.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/elf/wasm32.h b/include/elf/wasm32.h new file mode 100644 index 0000000..38e6c2e --- /dev/null +++ b/include/elf/wasm32.h @@ -0,0 +1,28 @@ +/* ELF support for BFD for the WebAssembly target + Copyright (C) 2017 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _ELF_WASM32_H +#define _ELF_WASM32_H + +#include "elf/reloc-macros.h" + +/* Relocation types. */ + +START_RELOC_NUMBERS (elf_wasm32_reloc_type) +END_RELOC_NUMBERS (R_WASM32_max = 1) + +#endif /* _ELF_WASM32_H */ |