aboutsummaryrefslogtreecommitdiff
path: root/include/elf/xtensa.h
diff options
context:
space:
mode:
authorcvs2svn <>2003-10-14 22:28:30 +0000
committercvs2svn <>2003-10-14 22:28:30 +0000
commit2e8953822c8ac277eb9807a0c1d790d787c34821 (patch)
treec849ca1331632ef94c68d18b7bc17c22871fdf37 /include/elf/xtensa.h
parent41fa5e20a48fc3cd64754c03111c849ec6dd9c68 (diff)
downloadnewlib-carlton_dictionary-20021223-merge.zip
newlib-carlton_dictionary-20021223-merge.tar.gz
newlib-carlton_dictionary-20021223-merge.tar.bz2
This commit was manufactured by cvs2svn to create tagcarlton_dictionary-20021223-merge
'carlton_dictionary-20021223-merge'. Sprout from drow-cplus-branch 2003-10-14 22:28:29 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'drow-cplus-' Cherrypick from master 2002-12-23 11:53:12 UTC Alan Modra <modra@gmail.com> ' * bfdlink.h (struct bfd_link_info): Add "strip_discarded".': COPYING.NEWLIB ChangeLog Makefile.def Makefile.in Makefile.tpl config/ChangeLog config/mh-cygwin configure configure.in include/ChangeLog include/ansidecl.h include/bfdlink.h include/coff/ChangeLog include/coff/ecoff.h include/coff/xcoff.h include/elf/ChangeLog include/elf/dwarf2.h include/elf/internal.h include/elf/m68hc11.h include/elf/mmix.h include/elf/sh.h include/elf/xstormy16.h include/getopt.h include/libiberty.h include/opcode/ChangeLog include/opcode/arc.h include/opcode/cgen.h include/opcode/h8300.h include/opcode/hppa.h include/opcode/i860.h include/opcode/ia64.h include/opcode/m88k.h include/opcode/ns32k.h include/opcode/pj.h include/opcode/tic4x.h include/partition.h ltcf-c.sh ltcf-gcj.sh src-release Delete: config/acx.m4 config/gettext.m4 config/mpw-mh-mpw config/mpw/ChangeLog config/mpw/MoveIfChange config/mpw/README config/mpw/forward-include config/mpw/g-mpw-make.sed config/mpw/mpw-touch config/mpw/mpw-true config/mpw/null-command config/mpw/open-brace config/mpw/tr-7to8-src config/mpw/true config/no-executables.m4 config/progtest.m4 include/elf/iq2000.h include/elf/msp430.h include/elf/ppc64.h include/elf/xtensa.h include/gdb/fileio.h include/opcode/msp430.h include/xtensa-config.h include/xtensa-isa-internal.h include/xtensa-isa.h
Diffstat (limited to 'include/elf/xtensa.h')
-rw-r--r--include/elf/xtensa.h88
1 files changed, 0 insertions, 88 deletions
diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h
deleted file mode 100644
index 6c584c7..0000000
--- a/include/elf/xtensa.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/* Xtensa ELF support for BFD.
- Copyright 2003 Free Software Foundation, Inc.
- Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
-
- 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. */
-
-/* This file holds definitions specific to the Xtensa ELF ABI. */
-
-#ifndef _ELF_XTENSA_H
-#define _ELF_XTENSA_H
-
-#include "elf/reloc-macros.h"
-
-/* Relocations. */
-START_RELOC_NUMBERS (elf_xtensa_reloc_type)
- RELOC_NUMBER (R_XTENSA_NONE, 0)
- RELOC_NUMBER (R_XTENSA_32, 1)
- RELOC_NUMBER (R_XTENSA_RTLD, 2)
- RELOC_NUMBER (R_XTENSA_GLOB_DAT, 3)
- RELOC_NUMBER (R_XTENSA_JMP_SLOT, 4)
- RELOC_NUMBER (R_XTENSA_RELATIVE, 5)
- RELOC_NUMBER (R_XTENSA_PLT, 6)
- RELOC_NUMBER (R_XTENSA_OP0, 8)
- RELOC_NUMBER (R_XTENSA_OP1, 9)
- RELOC_NUMBER (R_XTENSA_OP2, 10)
- RELOC_NUMBER (R_XTENSA_ASM_EXPAND, 11)
- RELOC_NUMBER (R_XTENSA_ASM_SIMPLIFY, 12)
- RELOC_NUMBER (R_XTENSA_GNU_VTINHERIT, 15)
- RELOC_NUMBER (R_XTENSA_GNU_VTENTRY, 16)
-END_RELOC_NUMBERS (R_XTENSA_max)
-
-/* Processor-specific flags for the ELF header e_flags field. */
-
-/* Four-bit Xtensa machine type field. */
-#define EF_XTENSA_MACH 0x0000000f
-
-/* Various CPU types. */
-#define E_XTENSA_MACH 0x00000000
-
-/* Leave bits 0xf0 alone in case we ever have more than 16 cpu types.
- Highly unlikely, but what the heck. */
-
-#define EF_XTENSA_XT_INSN 0x00000100
-#define EF_XTENSA_XT_LIT 0x00000200
-
-
-/* Processor-specific dynamic array tags. */
-
-/* Offset of the table that records the GOT location(s). */
-#define DT_XTENSA_GOT_LOC_OFF 0x70000000
-
-/* Number of entries in the GOT location table. */
-#define DT_XTENSA_GOT_LOC_SZ 0x70000001
-
-
-/* Definitions for instruction and literal property tables. The
- tables for ".gnu.linkonce.*" sections are placed in the following
- sections:
-
- instruction tables: .gnu.linkonce.x.*
- literal tables: .gnu.linkonce.p.*
-*/
-
-#define XTENSA_INSN_SEC_NAME ".xt.insn"
-#define XTENSA_LIT_SEC_NAME ".xt.lit"
-
-typedef struct property_table_entry_t
-{
- bfd_vma address;
- bfd_vma size;
-} property_table_entry;
-
-#endif /* _ELF_XTENSA_H */