aboutsummaryrefslogtreecommitdiff
path: root/include/elf/mn10300.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf/mn10300.h')
-rw-r--r--include/elf/mn10300.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/elf/mn10300.h b/include/elf/mn10300.h
index 1d64c40..79db776 100644
--- a/include/elf/mn10300.h
+++ b/include/elf/mn10300.h
@@ -22,12 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef _ELF_MN10300_H
#define _ELF_MN10300_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"
/* Relocations. */
START_RELOC_NUMBERS (elf_mn10300_reloc_type)
@@ -40,7 +35,7 @@ START_RELOC_NUMBERS (elf_mn10300_reloc_type)
RELOC_NUMBER (R_MN10300_PCREL8, 6)
RELOC_NUMBER (R_MN10300_GNU_VTINHERIT, 7)
RELOC_NUMBER (R_MN10300_GNU_VTENTRY, 8)
- RELOC_NUMBER (R_MN10300_MAX, 9)
+ EMPTY_RELOC (R_MN10300_MAX)
END_RELOC_NUMBERS
/* Machine variant if we know it. This field was invented at Cygnus,