2000-04-14 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / include / elf / m68k.h
index 5d23c28256db3b6019aaf1968b5a961e598f2bf9..e2d51ef4a906815925aa465efb5bd575ab886d16 100644 (file)
 #ifndef _ELF_M68K_H
 #define _ELF_M68K_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_m68k_reloc_type)
@@ -52,6 +47,12 @@ START_RELOC_NUMBERS (elf_m68k_reloc_type)
   RELOC_NUMBER (R_68K_GLOB_DAT, 20)    /* Create GOT entry */
   RELOC_NUMBER (R_68K_JMP_SLOT, 21)    /* Create PLT entry */
   RELOC_NUMBER (R_68K_RELATIVE, 22)    /* Adjust by program base */
+  /* These are GNU extensions to enable C++ vtable garbage collection.  */
+  RELOC_NUMBER (R_68K_GNU_VTINHERIT, 23)
+  RELOC_NUMBER (R_68K_GNU_VTENTRY, 24)
+  EMPTY_RELOC  (R_68K_max)   
 END_RELOC_NUMBERS
 
+#define EF_CPU32    0x00810000
+
 #endif
This page took 0.025047 seconds and 4 git commands to generate.