In bfd/:
[deliverable/binutils-gdb.git] / include / elf / mn10200.h
index edba0555b0cb110c6a036c5f974d65816c4cd1f0..5e29e0ad21193780a244521fc66b2b53d48e1c2d 100644 (file)
@@ -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
 
 #endif /* _ELF_MN10200_H */
This page took 0.023945 seconds and 4 git commands to generate.