aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/d10v.h9
2 files changed, 7 insertions, 6 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 18f8230..9bf61f3 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+Tue Nov 10 15:17:28 1998 Catherine Moore <clm@cygnus.com>
+
+ * d10v.h: Add vtable relocs.
+
Wed Nov 4 15:56:50 1998 Nick Clifton <nickc@cygnus.com>
* common.h (EM_CYGNUS_FR30): New machine number.
diff --git a/include/elf/d10v.h b/include/elf/d10v.h
index dff8abd..63b79c8 100644
--- a/include/elf/d10v.h
+++ b/include/elf/d10v.h
@@ -20,12 +20,7 @@
#ifndef _ELF_D10V_H
#define _ELF_D10V_H
-/* Unless otherwise told we define an enum with the relocation entries. */
-#ifndef START_RELOC_NUMBERS
-# define START_RELOC_NUMBERS(name) enum name {
-# define RELOC_NUMBER(name, number) name = number ,
-# define END_RELOC_NUMBERS };
-#endif
+#include "elf/reloc-macros.h"
/* Relocation types. */
START_RELOC_NUMBERS (elf_d10v_reloc_type)
@@ -36,6 +31,8 @@ START_RELOC_NUMBERS (elf_d10v_reloc_type)
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
#endif