diff options
author | cvs2svn <> | 2010-02-18 10:56:31 +0000 |
---|---|---|
committer | cvs2svn <> | 2010-02-18 10:56:31 +0000 |
commit | 6c796438435fab9abe4f08e3d15227c8f6d552f9 (patch) | |
tree | edacf85e10a235bcfda5418e6a1dfa01298af418 /include/elf/rx.h | |
parent | 3b5354fd3bd55d5a4598f845e846e1c7f34c65d9 (diff) | |
download | cygnal-cgen-snapshot-20100301.tar.gz cygnal-cgen-snapshot-20100301.tar.bz2 cygnal-cgen-snapshot-20100301.zip |
This commit was manufactured by cvs2svn to create tag 'cgen-cgen-snapshot-20100301
snapshot-20100301'.
Sprout from gdb_7_1-branch 2010-02-18 10:56:28 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'gdb_7_1-branch'.'
Delete:
djunpack.bat
include/COPYING
include/COPYING3
include/ChangeLog
include/ChangeLog-9103
include/MAINTAINERS
include/alloca-conf.h
include/ansidecl.h
include/aout/ChangeLog
include/aout/adobe.h
include/aout/aout64.h
include/aout/ar.h
include/aout/dynix3.h
include/aout/encap.h
include/aout/host.h
include/aout/hp.h
include/aout/hp300hpux.h
include/aout/hppa.h
include/aout/ranlib.h
include/aout/reloc.h
include/aout/stab.def
include/aout/stab_gnu.h
include/aout/sun4.h
include/bfdlink.h
include/binary-io.h
include/bout.h
include/cgen/ChangeLog
include/cgen/basic-modes.h
include/cgen/basic-ops.h
include/cgen/bitset.h
include/coff/ChangeLog
include/coff/ChangeLog-9103
include/coff/alpha.h
include/coff/apollo.h
include/coff/arm.h
include/coff/aux-coff.h
include/coff/ecoff.h
include/coff/external.h
include/coff/go32exe.h
include/coff/h8300.h
include/coff/h8500.h
include/coff/i386.h
include/coff/i860.h
include/coff/i960.h
include/coff/ia64.h
include/coff/internal.h
include/coff/m68k.h
include/coff/m88k.h
include/coff/maxq.h
include/coff/mcore.h
include/coff/mips.h
include/coff/mipspe.h
include/coff/or32.h
include/coff/pe.h
include/coff/powerpc.h
include/coff/rs6000.h
include/coff/rs6k64.h
include/coff/sh.h
include/coff/sparc.h
include/coff/sym.h
include/coff/symconst.h
include/coff/ti.h
include/coff/tic30.h
include/coff/tic4x.h
include/coff/tic54x.h
include/coff/tic80.h
include/coff/w65.h
include/coff/we32k.h
include/coff/x86_64.h
include/coff/xcoff.h
include/coff/z80.h
include/coff/z8k.h
include/demangle.h
include/dis-asm.h
include/dwarf2.h
include/dyn-string.h
include/elf/ChangeLog
include/elf/ChangeLog-9103
include/elf/alpha.h
include/elf/arc.h
include/elf/arm.h
include/elf/avr.h
include/elf/bfin.h
include/elf/common.h
include/elf/cr16.h
include/elf/cr16c.h
include/elf/cris.h
include/elf/crx.h
include/elf/d10v.h
include/elf/d30v.h
include/elf/dlx.h
include/elf/dwarf.h
include/elf/external.h
include/elf/fr30.h
include/elf/frv.h
include/elf/h8.h
include/elf/hppa.h
include/elf/i370.h
include/elf/i386.h
include/elf/i860.h
include/elf/i960.h
include/elf/ia64.h
include/elf/internal.h
include/elf/ip2k.h
include/elf/iq2000.h
include/elf/lm32.h
include/elf/m32c.h
include/elf/m32r.h
include/elf/m68hc11.h
include/elf/m68k.h
include/elf/mcore.h
include/elf/mep.h
include/elf/microblaze.h
include/elf/mips.h
include/elf/mmix.h
include/elf/mn10200.h
include/elf/mn10300.h
include/elf/moxie.h
include/elf/msp430.h
include/elf/mt.h
include/elf/openrisc.h
include/elf/or32.h
include/elf/pj.h
include/elf/ppc.h
include/elf/ppc64.h
include/elf/reloc-macros.h
include/elf/rx.h
include/elf/s390.h
include/elf/score.h
include/elf/sh.h
include/elf/sparc.h
include/elf/spu.h
include/elf/v850.h
include/elf/vax.h
include/elf/vxworks.h
include/elf/x86-64.h
include/elf/xc16x.h
include/elf/xstormy16.h
include/elf/xtensa.h
include/fibheap.h
include/filenames.h
include/floatformat.h
include/fnmatch.h
include/fopen-bin.h
include/fopen-same.h
include/fopen-vms.h
include/gdb/ChangeLog
include/gdb/callback.h
include/gdb/fileio.h
include/gdb/remote-sim.h
include/gdb/signals.h
include/gdb/sim-arm.h
include/gdb/sim-cr16.h
include/gdb/sim-d10v.h
include/gdb/sim-frv.h
include/gdb/sim-h8300.h
include/gdb/sim-lm32.h
include/gdb/sim-m32c.h
include/gdb/sim-ppc.h
include/gdb/sim-rx.h
include/gdb/sim-sh.h
include/gdbm.h
include/getopt.h
include/hashtab.h
include/hp-symtab.h
include/ieee.h
include/libiberty.h
include/lto-symtab.h
include/md5.h
include/nlm/ChangeLog
include/nlm/alpha-ext.h
include/nlm/common.h
include/nlm/external.h
include/nlm/i386-ext.h
include/nlm/internal.h
include/nlm/ppc-ext.h
include/nlm/sparc32-ext.h
include/oasys.h
include/objalloc.h
include/obstack.h
include/opcode/ChangeLog
include/opcode/ChangeLog-9103
include/opcode/alpha.h
include/opcode/arc.h
include/opcode/arm.h
include/opcode/avr.h
include/opcode/bfin.h
include/opcode/cgen.h
include/opcode/convex.h
include/opcode/cr16.h
include/opcode/cris.h
include/opcode/crx.h
include/opcode/d10v.h
include/opcode/d30v.h
include/opcode/dlx.h
include/opcode/h8300.h
include/opcode/hppa.h
include/opcode/i370.h
include/opcode/i386.h
include/opcode/i860.h
include/opcode/i960.h
include/opcode/ia64.h
include/opcode/m68hc11.h
include/opcode/m68k.h
include/opcode/m88k.h
include/opcode/maxq.h
include/opcode/mips.h
include/opcode/mmix.h
include/opcode/mn10200.h
include/opcode/mn10300.h
include/opcode/moxie.h
include/opcode/msp430.h
include/opcode/np1.h
include/opcode/ns32k.h
include/opcode/or32.h
include/opcode/pdp11.h
include/opcode/pj.h
include/opcode/pn.h
include/opcode/ppc.h
include/opcode/pyr.h
include/opcode/rx.h
include/opcode/s390.h
include/opcode/score-datadep.h
include/opcode/score-inst.h
include/opcode/sparc.h
include/opcode/spu-insns.h
include/opcode/spu.h
include/opcode/tahoe.h
include/opcode/tic30.h
include/opcode/tic4x.h
include/opcode/tic54x.h
include/opcode/tic80.h
include/opcode/v850.h
include/opcode/vax.h
include/os9k.h
include/partition.h
include/plugin-api.h
include/progress.h
include/safe-ctype.h
include/sha1.h
include/sort.h
include/splay-tree.h
include/symcat.h
include/vms/ChangeLog
include/vms/dmt.h
include/vms/dst.h
include/vms/eeom.h
include/vms/egps.h
include/vms/egsd.h
include/vms/egst.h
include/vms/egsy.h
include/vms/eiaf.h
include/vms/eicp.h
include/vms/eiha.h
include/vms/eihd.h
include/vms/eihi.h
include/vms/eihs.h
include/vms/eihvn.h
include/vms/eisd.h
include/vms/emh.h
include/vms/eobjrec.h
include/vms/esdf.h
include/vms/esrf.h
include/vms/etir.h
include/vms/shl.h
include/xregex.h
include/xregex2.h
include/xtensa-config.h
include/xtensa-isa-internal.h
include/xtensa-isa.h
texinfo/texinfo.tex
Diffstat (limited to 'include/elf/rx.h')
-rw-r--r-- | include/elf/rx.h | 134 |
1 files changed, 0 insertions, 134 deletions
diff --git a/include/elf/rx.h b/include/elf/rx.h deleted file mode 100644 index 1e04f3f8c..000000000 --- a/include/elf/rx.h +++ /dev/null @@ -1,134 +0,0 @@ -/* RX ELF support for BFD. - Copyright (C) 2008, 2009 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 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., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -#ifndef _ELF_RX_H -#define _ELF_RX_H - -#include "elf/reloc-macros.h" - -/* Note that there are a few internal relocation types used by the - linker to do link-time relaxation. If you update this file, please - check elf32-rx.c to see if any of the internal relocations need to - be, er, relocated. */ - -/* Preliminary relocations. */ -START_RELOC_NUMBERS (elf_rx_reloc_type) - - RELOC_NUMBER (R_RX_NONE, 0x00) - /* These are for data, and are bi-endian. */ - RELOC_NUMBER (R_RX_DIR32, 0x01) /* Was: R_RX_32. */ - RELOC_NUMBER (R_RX_DIR24S, 0x02) /* Was: R_RX_24. */ - RELOC_NUMBER (R_RX_DIR16, 0x03) - RELOC_NUMBER (R_RX_DIR16U, 0x04) /* Was: R_RX_16_UNS. */ - RELOC_NUMBER (R_RX_DIR16S, 0x05) /* Was: R_RX_16. */ - RELOC_NUMBER (R_RX_DIR8, 0x06) - RELOC_NUMBER (R_RX_DIR8U, 0x07) /* Was: R_RX_8_UNS. */ - RELOC_NUMBER (R_RX_DIR8S, 0x08) /* Was: R_RX_8. */ - - /* Signed pc-relative values. */ - RELOC_NUMBER (R_RX_DIR24S_PCREL, 0x09) /* Was: R_RX_24_PCREL. */ - RELOC_NUMBER (R_RX_DIR16S_PCREL, 0x0a) /* Was: R_RX_16_PCREL. */ - RELOC_NUMBER (R_RX_DIR8S_PCREL, 0x0b) /* Was: R_RX_8_PCREL. */ - - /* These are for fields in the instructions. */ - RELOC_NUMBER (R_RX_DIR16UL, 0x0c) - RELOC_NUMBER (R_RX_DIR16UW, 0x0d) - RELOC_NUMBER (R_RX_DIR8UL, 0x0e) - RELOC_NUMBER (R_RX_DIR8UW, 0x0f) - RELOC_NUMBER (R_RX_DIR32_REV, 0x10) - RELOC_NUMBER (R_RX_DIR16_REV, 0x11) - RELOC_NUMBER (R_RX_DIR3U_PCREL, 0x12) - - /* These are extensions added by Red Hat. */ - RELOC_NUMBER (R_RX_RH_3_PCREL, 0x20) /* Like R_RX_DIR8S_PCREL but only 3-bits. */ - RELOC_NUMBER (R_RX_RH_16_OP, 0x21) /* Like R_RX_DIR16 but for opcodes - always big endian. */ - RELOC_NUMBER (R_RX_RH_24_OP, 0x22) /* Like R_RX_DIR24S but for opcodes - always big endian. */ - RELOC_NUMBER (R_RX_RH_32_OP, 0x23) /* Like R_RX_DIR32 but for opcodes - always big endian. */ - RELOC_NUMBER (R_RX_RH_24_UNS, 0x24) /* Like R_RX_DIR24S but for unsigned values. */ - RELOC_NUMBER (R_RX_RH_8_NEG, 0x25) /* Like R_RX_DIR8 but -x is stored. */ - RELOC_NUMBER (R_RX_RH_16_NEG, 0x26) /* Like R_RX_DIR16 but -x is stored. */ - RELOC_NUMBER (R_RX_RH_24_NEG, 0x27) /* Like R_RX_DIR24S but -x is stored. */ - RELOC_NUMBER (R_RX_RH_32_NEG, 0x28) /* Like R_RX_DIR32 but -x is stored. */ - RELOC_NUMBER (R_RX_RH_DIFF, 0x29) /* Subtract from a previous relocation. */ - RELOC_NUMBER (R_RX_RH_GPRELB, 0x2a) /* Byte value, relative to __gp. */ - RELOC_NUMBER (R_RX_RH_GPRELW, 0x2b) /* Word value, relative to __gp. */ - RELOC_NUMBER (R_RX_RH_GPRELL, 0x2c) /* Long value, relative to __gp. */ - RELOC_NUMBER (R_RX_RH_RELAX, 0x2d) /* Marks opcodes suitable for linker relaxation. */ - - /* These are for complex relocs. */ - RELOC_NUMBER (R_RX_ABS32, 0x41) - RELOC_NUMBER (R_RX_ABS24S, 0x42) - RELOC_NUMBER (R_RX_ABS16, 0x43) - RELOC_NUMBER (R_RX_ABS16U, 0x44) - RELOC_NUMBER (R_RX_ABS16S, 0x45) - RELOC_NUMBER (R_RX_ABS8, 0x46) - RELOC_NUMBER (R_RX_ABS8U, 0x47) - RELOC_NUMBER (R_RX_ABS8S, 0x48) - RELOC_NUMBER (R_RX_ABS24S_PCREL, 0x49) - RELOC_NUMBER (R_RX_ABS16S_PCREL, 0x4a) - RELOC_NUMBER (R_RX_ABS8S_PCREL, 0x4b) - RELOC_NUMBER (R_RX_ABS16UL, 0x4c) - RELOC_NUMBER (R_RX_ABS16UW, 0x4d) - RELOC_NUMBER (R_RX_ABS8UL, 0x4e) - RELOC_NUMBER (R_RX_ABS8UW, 0x4f) - RELOC_NUMBER (R_RX_ABS32_REV, 0x50) - RELOC_NUMBER (R_RX_ABS16_REV, 0x51) - - RELOC_NUMBER (R_RX_SYM, 0x80) - RELOC_NUMBER (R_RX_OPneg, 0x81) - RELOC_NUMBER (R_RX_OPadd, 0x82) - RELOC_NUMBER (R_RX_OPsub, 0x83) - RELOC_NUMBER (R_RX_OPmul, 0x84) - RELOC_NUMBER (R_RX_OPdiv, 0x85) - RELOC_NUMBER (R_RX_OPshla, 0x86) - RELOC_NUMBER (R_RX_OPshra, 0x87) - RELOC_NUMBER (R_RX_OPsctsize, 0x88) - RELOC_NUMBER (R_RX_OPscttop, 0x8d) - RELOC_NUMBER (R_RX_OPand, 0x90) - RELOC_NUMBER (R_RX_OPor, 0x91) - RELOC_NUMBER (R_RX_OPxor, 0x92) - RELOC_NUMBER (R_RX_OPnot, 0x93) - RELOC_NUMBER (R_RX_OPmod, 0x94) - RELOC_NUMBER (R_RX_OPromtop, 0x95) - RELOC_NUMBER (R_RX_OPramtop, 0x96) - -END_RELOC_NUMBERS (R_RX_max) - -#define EF_RX_CPU_RX 0x00000079 /* FIXME: correct value? */ -#define EF_RX_CPU_MASK 0x0000007F /* specific cpu bits. */ -#define EF_RX_ALL_FLAGS (EF_RX_CPU_MASK) - -/* Values for the e_flags field in the ELF header. */ -#define E_FLAG_RX_64BIT_DOUBLES (1 << 0) -#define E_FLAG_RX_DSP (1 << 1) /* Defined in the RX CPU Object file specification, but not explained. */ - -/* These define the addend field of R_RX_RH_RELAX relocations. */ -#define RX_RELAXA_IMM6 0x00000010 /* Imm8/16/24/32 at bit offset 6. */ -#define RX_RELAXA_IMM12 0x00000020 /* Imm8/16/24/32 at bit offset 12. */ -#define RX_RELAXA_DSP4 0x00000040 /* Dsp0/8/16 at bit offset 4. */ -#define RX_RELAXA_DSP6 0x00000080 /* Dsp0/8/16 at bit offset 6. */ -#define RX_RELAXA_DSP14 0x00000100 /* Dsp0/8/16 at bit offset 14. */ -#define RX_RELAXA_BRA 0x00000200 /* Any type of branch (must be decoded). */ -#define RX_RELAXA_RNUM 0x0000000f /* Number of associated relocations. */ -/* These mark the place where alignment is requested, and the place where the filler bytes end. */ -#define RX_RELAXA_ALIGN 0x10000000 /* Start alignment; the remaining bits are the alignment value. */ -#define RX_RELAXA_ELIGN 0x20000000 /* End alignment; the remaining bits are the alignment value. */ -#define RX_RELAXA_ANUM 0x00ffffff /* Alignment amount, in bytes (i.e. .balign). */ - -#endif /* _ELF_RX_H */ |