Add OpenRISC support
[deliverable/binutils-gdb.git] / include / elf / mn10200.h
index edba0555b0cb110c6a036c5f974d65816c4cd1f0..1dfade5ccd0d96b9fa613c00de7d1278bbfd00f3 100644 (file)
@@ -1,5 +1,5 @@
 /* MN10200 ELF support for BFD.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright 1998, 2000 Free Software Foundation, Inc.
 
 This file is part of BFD, the Binary File Descriptor library.
 
@@ -22,14 +22,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #ifndef _ELF_MN10200_H
 #define _ELF_MN10200_H
 
+#include "elf/reloc-macros.h"
+
 /* Relocations.  */
-#define R_MN10200_NONE         0
-#define R_MN10200_32           1
-#define R_MN10200_16           2
-#define R_MN10200_8            3
-#define R_MN10200_24           4
-#define R_MN10200_PCREL8       5
-#define R_MN10200_PCREL16      6
-#define R_MN10200_PCREL24      7
+START_RELOC_NUMBERS (elf_mn10200_reloc_type)
+  RELOC_NUMBER (R_MN10200_NONE, 0)
+  RELOC_NUMBER (R_MN10200_32, 1)
+  RELOC_NUMBER (R_MN10200_16, 2)
+  RELOC_NUMBER (R_MN10200_8, 3)
+  RELOC_NUMBER (R_MN10200_24, 4)
+  RELOC_NUMBER (R_MN10200_PCREL8, 5)
+  RELOC_NUMBER (R_MN10200_PCREL16, 6)
+  RELOC_NUMBER (R_MN10200_PCREL24, 7)
+END_RELOC_NUMBERS (R_MN10200_max)
 
 #endif /* _ELF_MN10200_H */
This page took 0.023743 seconds and 4 git commands to generate.