Update copyright dates for last patch.
[deliverable/binutils-gdb.git] / include / elf / d10v.h
index f0952f226d53b92725cb6dcc97fa261d4415ba7a..96bfaf267b6a5f250040123c5729286fce3fb778 100644 (file)
@@ -1,5 +1,5 @@
 /* d10v ELF support for BFD.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
 #ifndef _ELF_D10V_H
 #define _ELF_D10V_H
 
-#define R_D10V_NONE            0
-#define R_D10V_10_PCREL_R      1
-#define R_D10V_10_PCREL_L      2
-#define R_D10V_16              3
-#define R_D10V_18              4
-#define R_D10V_18_PCREL                5
-#define R_D10V_32              6
+#include "elf/reloc-macros.h"
+
+/* Relocation types.  */
+START_RELOC_NUMBERS (elf_d10v_reloc_type)
+  RELOC_NUMBER (R_D10V_NONE, 0)
+  RELOC_NUMBER (R_D10V_10_PCREL_R, 1)
+  RELOC_NUMBER (R_D10V_10_PCREL_L, 2)
+  RELOC_NUMBER (R_D10V_16, 3)
+  RELOC_NUMBER (R_D10V_18, 4)
+  RELOC_NUMBER (R_D10V_18_PCREL, 5)
+  RELOC_NUMBER (R_D10V_32, 6)
+  RELOC_NUMBER (R_D10V_GNU_VTINHERIT, 7)
+  RELOC_NUMBER (R_D10V_GNU_VTENTRY, 8)
+END_RELOC_NUMBERS (R_D10V_max)
 
 #endif
This page took 0.028113 seconds and 4 git commands to generate.