aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1998-11-10 21:21:20 +0000
committerCatherine Moore <clm@redhat.com>1998-11-10 21:21:20 +0000
commitb4a6a4a6bf78b35fb581f82d38b21dc57a55ee08 (patch)
tree79ddc692b1e5c0f3fb5529f1f37cfa302c0a96ff /include
parent8f83181c307eb0a593d515f646a92100e0988f78 (diff)
downloadgdb-b4a6a4a6bf78b35fb581f82d38b21dc57a55ee08.zip
gdb-b4a6a4a6bf78b35fb581f82d38b21dc57a55ee08.tar.gz
gdb-b4a6a4a6bf78b35fb581f82d38b21dc57a55ee08.tar.bz2
Add vtable relocs.
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