m68hc11.h revision 77298
177298Sobrien/* m68hc11 & m68hc12 ELF support for BFD.
277298Sobrien   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
377298Sobrien
477298Sobrien   This file is part of BFD, the Binary File Descriptor library.
577298Sobrien
677298Sobrien   This program is free software; you can redistribute it and/or modify
777298Sobrien   it under the terms of the GNU General Public License as published by
877298Sobrien   the Free Software Foundation; either version 2 of the License, or
977298Sobrien   (at your option) any later version.
1077298Sobrien
1177298Sobrien   This program is distributed in the hope that it will be useful,
1277298Sobrien   but WITHOUT ANY WARRANTY; without even the implied warranty of
1377298Sobrien   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1477298Sobrien   GNU General Public License for more details.
1577298Sobrien
1677298Sobrien   You should have received a copy of the GNU General Public License
1777298Sobrien   along with this program; if not, write to the Free Software Foundation,
1877298Sobrien   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
1977298Sobrien
2077298Sobrien#ifndef _ELF_M68HC11_H
2177298Sobrien#define _ELF_M68HC11_H
2277298Sobrien
2377298Sobrien#include "elf/reloc-macros.h"
2477298Sobrien
2577298Sobrien/* Relocation types.  */
2677298SobrienSTART_RELOC_NUMBERS (elf_m68hc11_reloc_type)
2777298Sobrien  RELOC_NUMBER (R_M68HC11_NONE, 0)
2877298Sobrien  RELOC_NUMBER (R_M68HC11_8, 1)
2977298Sobrien  RELOC_NUMBER (R_M68HC11_HI8, 2)
3077298Sobrien  RELOC_NUMBER (R_M68HC11_LO8, 3)
3177298Sobrien  RELOC_NUMBER (R_M68HC11_PCREL_8, 4)
3277298Sobrien  RELOC_NUMBER (R_M68HC11_16, 5)
3377298Sobrien  RELOC_NUMBER (R_M68HC11_32, 6)
3477298Sobrien  RELOC_NUMBER (R_M68HC11_3B, 7)
3577298Sobrien  RELOC_NUMBER (R_M68HC11_PCREL_16, 8)
3677298Sobrien
3777298Sobrien     /* These are GNU extensions to enable C++ vtable garbage collection.  */
3877298Sobrien  RELOC_NUMBER (R_M68HC11_GNU_VTINHERIT, 9)
3977298Sobrien  RELOC_NUMBER (R_M68HC11_GNU_VTENTRY, 10)
4077298SobrienEND_RELOC_NUMBERS (R_M68HC11_max)
4177298Sobrien
4277298Sobrien#endif
43