diff options
author | cvs2svn <> | 2000-02-22 19:18:14 +0300 |
---|---|---|
committer | cvs2svn <> | 2000-02-22 19:18:14 +0300 |
commit | 12fa8278c17986cf8c1457dffbc3a17ec04be65e (patch) | |
tree | 50af885431648a3d53e99b1b2749c10710c7b668 /include/elf/sparc.h | |
parent | 929ce68fe67a171b2e3ff506450ca893ed6532b3 (diff) |
This commit was manufactured by cvs2svn to create tag 'egcs_20000222'.egcs_20000222
Sprout from cygnus 2000-02-22 16:18:13 UTC Ian Lance Taylor <iant@google.com> 'import libiberty from egcs'
Delete:
COPYING
COPYING.LIB
ChangeLog
Makefile.in
README
config-ml.in
config.guess
config.if
config.sub
config/ChangeLog
config/acinclude.m4
config/mh-a68bsd
config/mh-aix386
config/mh-aix43
config/mh-apollo68
config/mh-armpic
config/mh-cxux
config/mh-cygwin
config/mh-decstation
config/mh-delta88
config/mh-dgux
config/mh-dgux386
config/mh-djgpp
config/mh-elfalphapic
config/mh-hp300
config/mh-hpux
config/mh-hpux8
config/mh-interix
config/mh-irix4
config/mh-irix5
config/mh-irix6
config/mh-lynxos
config/mh-lynxrs6k
config/mh-m68kpic
config/mh-mingw32
config/mh-ncr3000
config/mh-ncrsvr43
config/mh-necv4
config/mh-papic
config/mh-ppcpic
config/mh-riscos
config/mh-sco
config/mh-solaris
config/mh-sparcpic
config/mh-sun3
config/mh-sysv
config/mh-sysv4
config/mh-sysv5
config/mh-vaxult2
config/mh-x86pic
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/mt-armpic
config/mt-d30v
config/mt-elfalphapic
config/mt-linux
config/mt-m68kpic
config/mt-netware
config/mt-ospace
config/mt-papic
config/mt-ppcpic
config/mt-sparcpic
config/mt-v810
config/mt-x86pic
configure
configure.bat
configure.in
etc/ChangeLog
etc/Makefile.in
etc/add-log.el
etc/add-log.vi
etc/configbuild.ein
etc/configbuild.fig
etc/configbuild.jin
etc/configbuild.tin
etc/configdev.ein
etc/configdev.fig
etc/configdev.jin
etc/configdev.tin
etc/configure
etc/configure.in
etc/configure.texi
etc/make-stds.texi
etc/standards.texi
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/bout.h
include/callback.h
include/coff/ChangeLog
include/coff/a29k.h
include/coff/alpha.h
include/coff/apollo.h
include/coff/arm.h
include/coff/aux-coff.h
include/coff/ecoff.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/internal.h
include/coff/m68k.h
include/coff/m88k.h
include/coff/mcore.h
include/coff/mips.h
include/coff/pe.h
include/coff/powerpc.h
include/coff/rs6000.h
include/coff/sh.h
include/coff/sparc.h
include/coff/sym.h
include/coff/symconst.h
include/coff/tic30.h
include/coff/tic80.h
include/coff/w65.h
include/coff/we32k.h
include/coff/z8k.h
include/dis-asm.h
include/elf/ChangeLog
include/elf/alpha.h
include/elf/arc.h
include/elf/arm-oabi.h
include/elf/arm.h
include/elf/common.h
include/elf/d10v.h
include/elf/d30v.h
include/elf/dwarf.h
include/elf/dwarf2.h
include/elf/external.h
include/elf/fr30.h
include/elf/hppa.h
include/elf/i386.h
include/elf/internal.h
include/elf/m32r.h
include/elf/m68k.h
include/elf/mcore.h
include/elf/mips.h
include/elf/mn10200.h
include/elf/mn10300.h
include/elf/ppc.h
include/elf/reloc-macros.h
include/elf/sh.h
include/elf/sparc.h
include/elf/v850.h
include/fopen-bin.h
include/fopen-same.h
include/fopen-vms.h
include/gdbm.h
include/hp-symtab.h
include/ieee.h
include/mpw/ChangeLog
include/mpw/README
include/mpw/dir.h
include/mpw/dirent.h
include/mpw/fcntl.h
include/mpw/grp.h
include/mpw/mpw.h
include/mpw/pwd.h
include/mpw/spin.h
include/mpw/stat.h
include/mpw/sys/file.h
include/mpw/sys/param.h
include/mpw/sys/resource.h
include/mpw/sys/stat.h
include/mpw/sys/time.h
include/mpw/sys/types.h
include/mpw/utime.h
include/mpw/varargs.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/opcode/ChangeLog
include/opcode/a29k.h
include/opcode/alpha.h
include/opcode/arc.h
include/opcode/arm.h
include/opcode/cgen.h
include/opcode/convex.h
include/opcode/d10v.h
include/opcode/d30v.h
include/opcode/h8300.h
include/opcode/hppa.h
include/opcode/i386.h
include/opcode/i860.h
include/opcode/i960.h
include/opcode/m68k.h
include/opcode/m88k.h
include/opcode/mips.h
include/opcode/mn10200.h
include/opcode/mn10300.h
include/opcode/np1.h
include/opcode/ns32k.h
include/opcode/pn.h
include/opcode/ppc.h
include/opcode/pyr.h
include/opcode/sparc.h
include/opcode/tahoe.h
include/opcode/tic30.h
include/opcode/tic80.h
include/opcode/v850.h
include/opcode/vax.h
include/os9k.h
include/progress.h
include/regs/ChangeLog
include/remote-sim.h
include/wait.h
install-sh
ltconfig
ltmain.sh
makeall.bat
makefile.vms
missing
mkinstalldirs
move-if-change
mpw-README
mpw-build.in
mpw-config.in
mpw-configure
mpw-install
setup.com
symlink-tree
ylwrap
Diffstat (limited to 'include/elf/sparc.h')
-rw-r--r-- | include/elf/sparc.h | 156 |
1 files changed, 0 insertions, 156 deletions
diff --git a/include/elf/sparc.h b/include/elf/sparc.h deleted file mode 100644 index c9e4cdd40..000000000 --- a/include/elf/sparc.h +++ /dev/null @@ -1,156 +0,0 @@ -/* SPARC ELF support for BFD. - Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. - By Doug Evans, Cygnus Support, <dje@cygnus.com>. - -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_SPARC_H -#define _ELF_SPARC_H - -/* Processor specific flags for the ELF header e_flags field. */ - -/* These are defined by Sun. */ - -#define EF_SPARC_32PLUS_MASK 0xffff00 /* bits indicating V8+ type */ -#define EF_SPARC_32PLUS 0x000100 /* generic V8+ features */ -#define EF_SPARC_SUN_US1 0x000200 /* Sun UltraSPARC1 extensions */ -#define EF_SPARC_HAL_R1 0x000400 /* HAL R1 extensions */ - -#define EF_SPARC_LEDATA 0x800000 /* little endian data */ - -/* This name is used in the V9 ABI. */ -#define EF_SPARC_EXT_MASK 0xffff00 /* reserved for vendor extensions */ - -/* V9 memory models */ -#define EF_SPARCV9_MM 0x3 /* memory model mask */ -#define EF_SPARCV9_TSO 0x0 /* total store ordering */ -#define EF_SPARCV9_PSO 0x1 /* partial store ordering */ -#define EF_SPARCV9_RMO 0x2 /* relaxed store ordering */ - -/* Section indices. */ - -#define SHN_BEFORE 0xff00 /* used with SHF_ORDERED */ -#define SHN_AFTER 0xff01 /* used with SHF_ORDERED */ - -/* Section flags. */ - -#define SHF_EXCLUDE 0x80000000 /* exclude from linking */ -#define SHF_ORDERED 0x40000000 /* treat sh_link,sh_info specially */ - -/* Symbol types. */ - -#define STT_REGISTER 13 /* global reg reserved to app. */ - -#include "elf/reloc-macros.h" - -/* Relocation types. */ -START_RELOC_NUMBERS (elf_sparc_reloc_type) - RELOC_NUMBER (R_SPARC_NONE, 0) - RELOC_NUMBER (R_SPARC_8, 1) - RELOC_NUMBER (R_SPARC_16, 2) - RELOC_NUMBER (R_SPARC_32, 3) - RELOC_NUMBER (R_SPARC_DISP8, 4) - RELOC_NUMBER (R_SPARC_DISP16, 5) - RELOC_NUMBER (R_SPARC_DISP32, 6) - RELOC_NUMBER (R_SPARC_WDISP30, 7) - RELOC_NUMBER (R_SPARC_WDISP22, 8) - RELOC_NUMBER (R_SPARC_HI22, 9) - RELOC_NUMBER (R_SPARC_22, 10) - RELOC_NUMBER (R_SPARC_13, 11) - RELOC_NUMBER (R_SPARC_LO10, 12) - RELOC_NUMBER (R_SPARC_GOT10, 13) - RELOC_NUMBER (R_SPARC_GOT13, 14) - RELOC_NUMBER (R_SPARC_GOT22, 15) - RELOC_NUMBER (R_SPARC_PC10, 16) - RELOC_NUMBER (R_SPARC_PC22, 17) - RELOC_NUMBER (R_SPARC_WPLT30, 18) - RELOC_NUMBER (R_SPARC_COPY, 19) - RELOC_NUMBER (R_SPARC_GLOB_DAT, 20) - RELOC_NUMBER (R_SPARC_JMP_SLOT, 21) - RELOC_NUMBER (R_SPARC_RELATIVE, 22) - RELOC_NUMBER (R_SPARC_UA32, 23) - - /* ??? These 6 relocs are new but not currently used. For binary - compatility in the sparc64-elf toolchain, we leave them out. - A non-binary upward compatible change is expected for sparc64-elf. */ -#ifndef SPARC64_OLD_RELOCS - /* ??? New relocs on the UltraSPARC. Not sure what they're for yet. */ - RELOC_NUMBER (R_SPARC_PLT32, 24) - RELOC_NUMBER (R_SPARC_HIPLT22, 25) - RELOC_NUMBER (R_SPARC_LOPLT10, 26) - RELOC_NUMBER (R_SPARC_PCPLT32, 27) - RELOC_NUMBER (R_SPARC_PCPLT22, 28) - RELOC_NUMBER (R_SPARC_PCPLT10, 29) -#endif - - /* v9 relocs */ - RELOC_NUMBER (R_SPARC_10, 30) - RELOC_NUMBER (R_SPARC_11, 31) - RELOC_NUMBER (R_SPARC_64, 32) - RELOC_NUMBER (R_SPARC_OLO10, 33) - RELOC_NUMBER (R_SPARC_HH22, 34) - RELOC_NUMBER (R_SPARC_HM10, 35) - RELOC_NUMBER (R_SPARC_LM22, 36) - RELOC_NUMBER (R_SPARC_PC_HH22, 37) - RELOC_NUMBER (R_SPARC_PC_HM10, 38) - RELOC_NUMBER (R_SPARC_PC_LM22, 39) - RELOC_NUMBER (R_SPARC_WDISP16, 40) - RELOC_NUMBER (R_SPARC_WDISP19, 41) - RELOC_NUMBER (R_SPARC_UNUSED_42, 42) - RELOC_NUMBER (R_SPARC_7, 43) - RELOC_NUMBER (R_SPARC_5, 44) - RELOC_NUMBER (R_SPARC_6, 45) - RELOC_NUMBER (R_SPARC_DISP64, 46) - RELOC_NUMBER (R_SPARC_PLT64, 47) - RELOC_NUMBER (R_SPARC_HIX22, 48) - RELOC_NUMBER (R_SPARC_LOX10, 49) - RELOC_NUMBER (R_SPARC_H44, 50) - RELOC_NUMBER (R_SPARC_M44, 51) - RELOC_NUMBER (R_SPARC_L44, 52) - RELOC_NUMBER (R_SPARC_REGISTER, 53) - RELOC_NUMBER (R_SPARC_UA64, 54) - RELOC_NUMBER (R_SPARC_UA16, 55) - - /* little endian data relocs */ - RELOC_NUMBER (R_SPARC_REV32, 56) - - RELOC_NUMBER (R_SPARC_GNU_VTINHERIT, 250) - RELOC_NUMBER (R_SPARC_GNU_VTENTRY, 251) - - EMPTY_RELOC (R_SPARC_max) -END_RELOC_NUMBERS - -/* Relocation macros. */ - -#define ELF64_R_TYPE_DATA(info) (((bfd_vma) (info) << 32) >> 40) -#define ELF64_R_TYPE_ID(info) (((bfd_vma) (info) << 56) >> 56) -#define ELF64_R_TYPE_INFO(data, type) (((bfd_vma) (data) << 8) \ - + (bfd_vma) (type)) - -#define DT_SPARC_REGISTER 0x70000001 - -/* - * FIXME: NOT ABI -- GET RID OF THIS - * Defines the format used by the .plt. Currently defined values are - * 0 -- reserved to SI - * 1 -- absolute address in .got.plt - * 2 -- got-relative address in .got.plt - */ - -#define DT_SPARC_PLTFMT 0x70000001 - -#endif /* _ELF_SPARC_H */ |