From 4ba81bbab20d1d68a89b8d983dfa5ae0129f22d7 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 23 Apr 2001 08:00:14 +0000 Subject: [PATCH] 2001-04-23 Bo Thorsen * x86-64.h: Add vtable support. 2001-04-23 Bo Thorsen * elf64-x86-64.c: Add c++ vtable hack. Small whitespace and comment changes. --- include/elf/ChangeLog | 12 ++++++++---- include/elf/x86-64.h | 2 ++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index d305bdab1..815dd88ac 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2001-04-23 Bo Thorsen + + * x86-64.h: Add vtable support. + 2001-03-23 Nick Clifton * mips.h: Remove extraneous whitespace. @@ -40,14 +44,14 @@ * mips.h (E_MIPS_ARCH_32): New constant. (E_MIPS_MACH_MIPS32, E_MIPS_MACH_MIPS32_4K): Replace the - former with the latter. + former with the latter. * mips.h (E_MIPS_ARCH_5, E_MIPS_ARCH_64): New definitions. * mips.h (E_MIPS_MACH_SB1): New constant. 2000-11-30 Jan Hubicka - + * common.h (EM_X86_64): New macro. * x86-64.h: New file. @@ -107,7 +111,7 @@ 2000-09-13 Anders Norlander - * mips.h (E_MIPS_MACH_4K): New define. + * mips.h (E_MIPS_MACH_4K): New define. 2000-09-05 Alan Modra @@ -170,7 +174,7 @@ 2000-07-10 Alan Modra - * hppa.h: Add comments to all the relocs. + * hppa.h: Add comments to all the relocs. 2000-06-26 Marek Michalkiewicz diff --git a/include/elf/x86-64.h b/include/elf/x86-64.h index a4da0a375..74febc2d5 100644 --- a/include/elf/x86-64.h +++ b/include/elf/x86-64.h @@ -41,6 +41,8 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_type) RELOC_NUMBER (R_X86_64_PC16, 13) /* 16 bit sign extended pc relative*/ RELOC_NUMBER (R_X86_64_8, 14) /* Direct 8 bit sign extended */ RELOC_NUMBER (R_X86_64_PC8, 15) /* 8 bit sign extended pc relative*/ + RELOC_NUMBER (R_X86_64_GNU_VTINHERIT, 250) /* GNU C++ hack */ + RELOC_NUMBER (R_X86_64_GNU_VTENTRY, 251) /* GNU C++ hack */ END_RELOC_NUMBERS (R_X86_64_max) #endif