mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
93fbbb04b8
2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * Makefile.am: Add support for xstormy16. * archures.c: Add support for xstormy16. * config.bfd: Add support for xstormy16. * configure.in: Add support for xstormy16. * reloc.c: Add support for xstormy16. * targets.c: Add support for xstormy16. * cpu-xstormy16.c: New file. * elf32-xstormy16.c: New file. * Makefile.in: Regenerated. * bfd-in2.h: Regenerated. * configure: Regenerated. * libbfd.h: Regenerated. Index: binutils/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * readelf.c (guess_is_rela): Add support for stormy16. (dump_relocations): Likewise. (get_machine_name): Likewise. Index: gas/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add support for xstormy16. * configure: Regenerated. * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerated. * config/tc-xstormy16.c: New file. * config/tc-xstormy16.h: New file. Index: gas/testsuite/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> matthew green <mrg@redhat.com> * gas/xstormy16/allinsn.d: New file. * gas/xstormy16/allinsn.exp: New file. * gas/xstormy16/allinsn.s: New file. * gas/xstormy16/allinsn.sh: New file. * gas/xstormy16/gcc.d: New file. * gas/xstormy16/gcc.s: New file. * gas/xstormy16/gcc.sh: New file. * gas/xstormy16/reloc-1.d: New file. * gas/xstormy16/reloc-1.s: New file. * gas/xstormy16/reloc-2.d: New file. * gas/xstormy16/reloc-2.s: New file. Index: ld/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * Makefile.am: Add support for xstormy16. * configure.tgt: Add support for xstormy16. * Makefile.in: Regenerate. * emulparams/elf32xstormy16.sh: New file. * scripttempl/xstormy16.sc: New file. Index: opcodes/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerate. * configure.in: Add support for xstormy16. * configure: Regenerate. * disassemble.c: Add support for xstormy16. * xstormy16-asm.c: New generated file. * xstormy16-desc.c: New generated file. * xstormy16-desc.h: New generated file. * xstormy16-dis.c: New generated file. * xstormy16-ibld.c: New generated file. * xstormy16-opc.c: New generated file. * xstormy16-opc.h: New generated file. Index: include/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * dis-asm.h (print_insn_xstormy16): Declare. Index: include/elf/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * common.h (EM_XSTORMY16): Define. * xstormy16.h: New file.
54 lines
1.9 KiB
C
54 lines
1.9 KiB
C
/* XSTORMY16 ELF support for BFD.
|
|
Copyright (C) 2001 Free Software Foundation, Inc.
|
|
|
|
This file is part of BFD, the Binary File Descriptor library.
|
|
|
|
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 2 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.,
|
|
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|
|
|
#ifndef _ELF_XSTORMY16_H
|
|
#define _ELF_XSTORMY16_H
|
|
|
|
#include "elf/reloc-macros.h"
|
|
|
|
/* Relocations. */
|
|
START_RELOC_NUMBERS (elf_xstormy16_reloc_type)
|
|
RELOC_NUMBER (R_XSTORMY16_NONE, 0)
|
|
|
|
RELOC_NUMBER (R_XSTORMY16_32, 1)
|
|
RELOC_NUMBER (R_XSTORMY16_16, 2)
|
|
RELOC_NUMBER (R_XSTORMY16_8, 3)
|
|
RELOC_NUMBER (R_XSTORMY16_PC32, 4)
|
|
RELOC_NUMBER (R_XSTORMY16_PC16, 5)
|
|
RELOC_NUMBER (R_XSTORMY16_PC8, 6)
|
|
|
|
RELOC_NUMBER (R_XSTORMY16_REL_12, 7)
|
|
RELOC_NUMBER (R_XSTORMY16_24, 8)
|
|
RELOC_NUMBER (R_XSTORMY16_FPTR16, 9)
|
|
|
|
RELOC_NUMBER (R_XSTORMY16_GNU_VTINHERIT, 128)
|
|
RELOC_NUMBER (R_XSTORMY16_GNU_VTENTRY, 129)
|
|
END_RELOC_NUMBERS (R_XSTORMY16_max)
|
|
|
|
/* Define the data & instruction memory discriminator. In a linked
|
|
executable, an symbol should be deemed to point to an instruction
|
|
if ((address & XSTORMY16_INSN_MASK) == XSTORMY16_INSN_VALUE), and similarly
|
|
for the data space. See also `ld/emulparams/elf32xstormy16.sh'. */
|
|
#define XSTORMY16_DATA_MASK 0xffc00000
|
|
#define XSTORMY16_DATA_VALUE 0x00000000
|
|
#define XSTORMY16_INSN_MASK 0xffc00000
|
|
#define XSTORMY16_INSN_VALUE 0x00400000
|
|
|
|
#endif /* _ELF_XSTORMY16_H */
|