aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-i370.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-15 12:21:39 +0000
committerAlan Modra <amodra@gmail.com>2002-08-15 12:21:39 +0000
commitc5cd6d622673cde22d4e304fba85703c4dc23c3c (patch)
treeaa7f93a0970790471586898872d2ec5baec356bc /bfd/elf32-i370.c
parent149a59df81a840b3bf8ad39f6418f234ceeaa4e4 (diff)
downloadfsf-binutils-gdb-c5cd6d622673cde22d4e304fba85703c4dc23c3c.zip
fsf-binutils-gdb-c5cd6d622673cde22d4e304fba85703c4dc23c3c.tar.gz
fsf-binutils-gdb-c5cd6d622673cde22d4e304fba85703c4dc23c3c.tar.bz2
* elf32-i370.c: Move reloc enum to include/elf/i370.h.
Diffstat (limited to 'bfd/elf32-i370.c')
-rw-r--r--bfd/elf32-i370.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c
index 3ba50ba..d047f01 100644
--- a/bfd/elf32-i370.c
+++ b/bfd/elf32-i370.c
@@ -34,30 +34,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "elf-bfd.h"
#include "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.
- */
-enum i370_reloc_type
-{
- R_I370_NONE = 0,
- R_I370_ADDR31 = 1,
- R_I370_ADDR32 = 2,
- R_I370_ADDR16 = 3,
- R_I370_REL31 = 4,
- R_I370_REL32 = 5,
- R_I370_ADDR12 = 6,
- R_I370_REL12 = 7,
- R_I370_ADDR8 = 8,
- R_I370_REL8 = 9,
- R_I370_COPY = 10,
- R_I370_RELATIVE = 11,
-
- R_I370_max
-};
-
static reloc_howto_type *i370_elf_howto_table[ (int)R_I370_max ];
static reloc_howto_type i370_elf_howto_raw[] =