diff options
author | cvs2svn <> | 2008-11-27 20:22:11 +0300 |
---|---|---|
committer | cvs2svn <> | 2008-11-27 20:22:11 +0300 |
commit | 46fd07be59a41372c3b21603355d7f9016999e81 (patch) | |
tree | db63cbf39c78dc69957a4e515a044734a4e7c1a9 /include/elf/mmix.h | |
parent | 65f5b228c29a9c122c9e3f66fa2552a4f4ae2cb5 (diff) |
This commit was manufactured by cvs2svn to create tag 'cgen-cgen-snapshot-20081201
snapshot-20081201'.
Sprout from arc-20081103-branch 2008-10-29 19:39:14 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch'
Cherrypick from master 2008-11-27 17:22:10 UTC Joseph Myers <joseph@codesourcery.com> 'Merge from GCC:':
ChangeLog
Makefile.def
Makefile.in
Makefile.tpl
config-ml.in
config/ChangeLog
config/mh-mingw
config/unwind_ipinfo.m4
configure
configure.ac
Delete:
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/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/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/dwarf2.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/m32c.h
include/elf/m32r.h
include/elf/m68hc11.h
include/elf/m68k.h
include/elf/mcore.h
include/elf/mep.h
include/elf/mips.h
include/elf/mmix.h
include/elf/mn10200.h
include/elf/mn10300.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/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-m32c.h
include/gdb/sim-ppc.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/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-bitset.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/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/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/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/mmix.h')
-rw-r--r-- | include/elf/mmix.h | 171 |
1 files changed, 0 insertions, 171 deletions
diff --git a/include/elf/mmix.h b/include/elf/mmix.h deleted file mode 100644 index 9661e87b5..000000000 --- a/include/elf/mmix.h +++ /dev/null @@ -1,171 +0,0 @@ -/* MMIX support for BFD. - Copyright 2001, 2002, 2003 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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ - -/* This file holds definitions specific to the MMIX ELF ABI. */ -#ifndef ELF_MMIX_H -#define ELF_MMIX_H - -#include "elf/reloc-macros.h" - -/* Relocations. See the reloc table in bfd/elf64-mmix.c for details. */ -START_RELOC_NUMBERS (elf_mmix_reloc_type) - RELOC_NUMBER (R_MMIX_NONE, 0) - - /* Standard absolute relocations. */ - RELOC_NUMBER (R_MMIX_8, 1) - RELOC_NUMBER (R_MMIX_16, 2) - RELOC_NUMBER (R_MMIX_24, 3) - RELOC_NUMBER (R_MMIX_32, 4) - RELOC_NUMBER (R_MMIX_64, 5) - - /* Standard relative relocations. */ - RELOC_NUMBER (R_MMIX_PC_8, 6) - RELOC_NUMBER (R_MMIX_PC_16, 7) - RELOC_NUMBER (R_MMIX_PC_24, 8) - RELOC_NUMBER (R_MMIX_PC_32, 9) - RELOC_NUMBER (R_MMIX_PC_64, 10) - - /* GNU extensions for C++ vtables. */ - RELOC_NUMBER (R_MMIX_GNU_VTINHERIT, 11) - RELOC_NUMBER (R_MMIX_GNU_VTENTRY, 12) - - /* A GETA instruction. */ - RELOC_NUMBER (R_MMIX_GETA, 13) - RELOC_NUMBER (R_MMIX_GETA_1, 14) - RELOC_NUMBER (R_MMIX_GETA_2, 15) - RELOC_NUMBER (R_MMIX_GETA_3, 16) - - /* A conditional branch instruction. */ - RELOC_NUMBER (R_MMIX_CBRANCH, 17) - RELOC_NUMBER (R_MMIX_CBRANCH_J, 18) - RELOC_NUMBER (R_MMIX_CBRANCH_1, 19) - RELOC_NUMBER (R_MMIX_CBRANCH_2, 20) - RELOC_NUMBER (R_MMIX_CBRANCH_3, 21) - - /* A PUSHJ instruction. */ - RELOC_NUMBER (R_MMIX_PUSHJ, 22) - RELOC_NUMBER (R_MMIX_PUSHJ_1, 23) - RELOC_NUMBER (R_MMIX_PUSHJ_2, 24) - RELOC_NUMBER (R_MMIX_PUSHJ_3, 25) - - /* A JMP instruction. */ - RELOC_NUMBER (R_MMIX_JMP, 26) - RELOC_NUMBER (R_MMIX_JMP_1, 27) - RELOC_NUMBER (R_MMIX_JMP_2, 28) - RELOC_NUMBER (R_MMIX_JMP_3, 29) - - /* A relative address such as in a GETA or a branch. */ - RELOC_NUMBER (R_MMIX_ADDR19, 30) - - /* A relative address such as in a JMP (only). */ - RELOC_NUMBER (R_MMIX_ADDR27, 31) - - /* A general register or a number 0..255. */ - RELOC_NUMBER (R_MMIX_REG_OR_BYTE, 32) - - /* A general register. */ - RELOC_NUMBER (R_MMIX_REG, 33) - - /* A global register and an offset, the global register (allocated at - link time) contents plus the offset made equivalent to the relocation - expression at link time. The relocation must point at the Y field of - an instruction. */ - RELOC_NUMBER (R_MMIX_BASE_PLUS_OFFSET, 34) - - /* A LOCAL assertion. */ - RELOC_NUMBER (R_MMIX_LOCAL, 35) - - /* A PUSHJ instruction, generating a stub if it does not reach. */ - RELOC_NUMBER (R_MMIX_PUSHJ_STUBBABLE, 36) -END_RELOC_NUMBERS (R_MMIX_max) - - -/* Section Attributes. */ -/* A section containing necessary information for relaxation. */ -#define SHF_MMIX_CANRELAX 0x80000000 - -/* Symbol attributes. */ -/* A symbol with this section-index is a register. */ -#define SHN_REGISTER SHN_LOPROC - -/* This section holds contents for each initialized register, at VMA - regno*8. A symbol relative to this section will be transformed to an - absolute symbol with the value corresponding to the register number at - final link time. A symbol with a value outside the inclusive range - 32*8 .. 254*8 is an error. It is highly recommended to only use an - upper bound of 253*8 or lower as specified in the (currently - unspecified) ABI. */ -#define MMIX_REG_CONTENTS_SECTION_NAME ".MMIX.reg_contents" - -/* At link time, a section by this name is created, expected to be - included in MMIX_REG_CONTENTS_SECTION_NAME in the output. */ -#define MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME \ - ".MMIX.reg_contents.linker_allocated" - -/* This is a faked section holding symbols with SHN_REGISTER. Don't - confuse it with MMIX_REG_CONTENTS_SECTION_NAME; this one has no - contents, just values. It is an error for a value in this section to - be outside the range 32..255 and it must never become an actual section - in an object file. */ -#define MMIX_REG_SECTION_NAME "*REG*" - -/* Appended with a number N=0..65535, this is a representation of the - mmixal "BSPEC N" ... "ESPEC" directive pair; the contents go into an - ELF section by name ".MMIX.spec_data.N". */ -#define MMIX_OTHER_SPEC_SECTION_PREFIX ".MMIX.spec_data." - -/* A section SECNAME is noted to start at "__.MMIX.start.SECNAME" by the - presence of this symbol. Currently only implemented for ".text" - through the symbol "__.MMIX.start..text". */ -#define MMIX_LOC_SECTION_START_SYMBOL_PREFIX "__.MMIX.start." - -/* This symbol is always a function. */ -#define MMIX_START_SYMBOL_NAME "Main" - - -/* We smuggle in a few MMO specifics here. We don't make a specific MMO - file, since we can't reasonably support MMO without ELF; we have to - include this file anyway. */ - -#define MMO_TEXT_SECTION_NAME ".text" -#define MMO_DATA_SECTION_NAME ".data" - -/* A definition for the flags we put in spec data in files. A copy of our - own of some flags to keep immune to BFD flag changes. See section.c of - 2001-07-18 for flag documentation. */ -#define MMO_SEC_ALLOC 0x001 -#define MMO_SEC_LOAD 0x002 -#define MMO_SEC_RELOC 0x004 -#define MMO_SEC_READONLY 0x010 -#define MMO_SEC_CODE 0x020 -#define MMO_SEC_DATA 0x040 -#define MMO_SEC_NEVER_LOAD 0x400 -#define MMO_SEC_IS_COMMON 0x8000 -#define MMO_SEC_DEBUGGING 0x10000 - -#ifdef BFD_ARCH_SIZE -extern bfd_boolean _bfd_mmix_before_linker_allocation - (bfd *, struct bfd_link_info *); -extern bfd_boolean _bfd_mmix_after_linker_allocation - (bfd *, struct bfd_link_info *); -extern bfd_boolean _bfd_mmix_check_all_relocs - (bfd *, struct bfd_link_info *); -#endif - -#endif /* ELF_MMIX_H */ |