/* MN10200 ELF support for BFD.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright 1998, 2000 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
#ifndef _ELF_MN10200_H
#define _ELF_MN10200_H
+#include "elf/reloc-macros.h"
+
/* Relocations. */
-#define R_MN10200_NONE 0
-#define R_MN10200_32 1
-#define R_MN10200_16 2
-#define R_MN10200_8 3
-#define R_MN10200_24 4
-#define R_MN10200_PCREL8 5
-#define R_MN10200_PCREL16 6
-#define R_MN10200_PCREL24 7
+START_RELOC_NUMBERS (elf_mn10200_reloc_type)
+ RELOC_NUMBER (R_MN10200_NONE, 0)
+ RELOC_NUMBER (R_MN10200_32, 1)
+ RELOC_NUMBER (R_MN10200_16, 2)
+ RELOC_NUMBER (R_MN10200_8, 3)
+ RELOC_NUMBER (R_MN10200_24, 4)
+ RELOC_NUMBER (R_MN10200_PCREL8, 5)
+ RELOC_NUMBER (R_MN10200_PCREL16, 6)
+ RELOC_NUMBER (R_MN10200_PCREL24, 7)
+END_RELOC_NUMBERS (R_MN10200_max)
#endif /* _ELF_MN10200_H */