diff options
author | cvs2svn <> | 2002-08-23 22:24:58 +0000 |
---|---|---|
committer | cvs2svn <> | 2002-08-23 22:24:58 +0000 |
commit | e3853f659096680f4953e1ec051d10b1f0ff084e (patch) | |
tree | 3d717dad9ee5b9d1d9427ec514dcb8759a12b5ce /include/elf/i370.h | |
parent | ce122f0260fafd437209005104cb0d6cf24b6817 (diff) | |
download | cygnal-e3853f659096680f4953e1ec051d10b1f0ff084e.tar.gz cygnal-e3853f659096680f4953e1ec051d10b1f0ff084e.tar.bz2 cygnal-e3853f659096680f4953e1ec051d10b1f0ff084e.zip |
This commit was manufactured by cvs2svn to create branch 'readline_4_3readline_4_3-import-branchpointcagney_sysregs-20020825-branchpoint
-import-branch'.
Sprout from binutils-2_13-branch 2002-07-11 20:14:42 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'binutils-'
Cherrypick from master 2002-08-23 22:24:57 UTC Andrew Cagney <cagney@gnu.org> '2002-08-23 Andrew Cagney <ac131313@redhat.com>':
ChangeLog
MAINTAINERS
Makefile.in
config.guess
config.sub
configure.in
include/ChangeLog
include/bfdlink.h
include/dis-asm.h
include/elf/ChangeLog
include/elf/common.h
include/elf/i370.h
include/elf/ip2k.h
include/elf/m68hc11.h
include/gdb/ChangeLog
include/gdb/remote-sim.h
include/gdb/sim-h8300.h
include/gdb/sim-sh.h
include/opcode/ChangeLog
include/opcode/m68hc11.h
include/opcode/mips.h
include/opcode/ppc.h
texinfo/texinfo.tex
Delete:
COPYING.LIBGLOSS
Diffstat (limited to 'include/elf/i370.h')
-rw-r--r-- | include/elf/i370.h | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/include/elf/i370.h b/include/elf/i370.h index b6f478535..fd5ec4739 100644 --- a/include/elf/i370.h +++ b/include/elf/i370.h @@ -1,5 +1,5 @@ /* i370 ELF support for BFD. - Copyright 2000 Free Software Foundation, Inc. + Copyright 2000, 2002 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -23,6 +23,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _ELF_I370_H #define _ELF_I370_H +#include "elf/reloc-macros.h" + /* Processor specific section headers, sh_type field */ #define SHT_ORDERED SHT_HIPROC /* Link editor is to sort the \ @@ -41,6 +43,26 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ builds when those objects \ are not to be furhter \ relocated. */ -#endif /* _ELF_I370_H */ +/* i370 relocations + Note that there is really just one relocation that we currently + support (and only one that we seem to need, at the moment), and + that is the 31-bit address relocation. Note that the 370/390 + only supports a 31-bit (2GB) address space. */ +START_RELOC_NUMBERS (i370_reloc_type) + RELOC_NUMBER (R_I370_NONE, 0) + RELOC_NUMBER (R_I370_ADDR31, 1) + RELOC_NUMBER (R_I370_ADDR32, 2) + RELOC_NUMBER (R_I370_ADDR16, 3) + RELOC_NUMBER (R_I370_REL31, 4) + RELOC_NUMBER (R_I370_REL32, 5) + RELOC_NUMBER (R_I370_ADDR12, 6) + RELOC_NUMBER (R_I370_REL12, 7) + RELOC_NUMBER (R_I370_ADDR8, 8) + RELOC_NUMBER (R_I370_REL8, 9) + RELOC_NUMBER (R_I370_COPY, 10) + RELOC_NUMBER (R_I370_RELATIVE, 11) +END_RELOC_NUMBERS (R_I370_max) + +#endif /* _ELF_I370_H */ |