From: Catherine Moore Date: Tue, 10 Nov 1998 21:21:20 +0000 (+0000) Subject: Add vtable relocs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4a6a4a6bf78b35fb581f82d38b21dc57a55ee08;p=binutils-gdb.git Add vtable relocs. --- diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 18f8230a781..9bf61f3a543 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +Tue Nov 10 15:17:28 1998 Catherine Moore + + * d10v.h: Add vtable relocs. + Wed Nov 4 15:56:50 1998 Nick Clifton * common.h (EM_CYGNUS_FR30): New machine number. diff --git a/include/elf/d10v.h b/include/elf/d10v.h index dff8abd1cbc..63b79c801b1 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