xref: /openbsd-src/gnu/usr.bin/binutils/bfd/ns32k.h (revision d2201f2f89f0be1a0be6f7568000ed297414a06d)
1c88b1d6cSniklas /* Header file for ns32k routines.
2*d2201f2fSdrahn    Copyright 1996, 2001, 2002 Free Software Foundation, Inc.
3c88b1d6cSniklas    Written by Cygnus Support.
4c88b1d6cSniklas 
5c88b1d6cSniklas    This file is part of BFD, the Binary File Descriptor library.
6c88b1d6cSniklas 
7c88b1d6cSniklas    This program is free software; you can redistribute it and/or modify
8c88b1d6cSniklas    it under the terms of the GNU General Public License as published by
9c88b1d6cSniklas    the Free Software Foundation; either version 2 of the License, or
10c88b1d6cSniklas    (at your option) any later version.
11c88b1d6cSniklas 
12c88b1d6cSniklas    This program is distributed in the hope that it will be useful,
13c88b1d6cSniklas    but WITHOUT ANY WARRANTY; without even the implied warranty of
14c88b1d6cSniklas    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15c88b1d6cSniklas    GNU General Public License for more details.
16c88b1d6cSniklas 
17c88b1d6cSniklas    You should have received a copy of the GNU General Public License
18c88b1d6cSniklas    along with this program; if not, write to the Free Software
19c88b1d6cSniklas    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
20c88b1d6cSniklas 
21c88b1d6cSniklas extern bfd_reloc_status_type _bfd_ns32k_relocate_contents
22c88b1d6cSniklas   PARAMS ((reloc_howto_type *, bfd *, bfd_vma, bfd_byte *));
23c88b1d6cSniklas 
24c88b1d6cSniklas extern bfd_reloc_status_type _bfd_do_ns32k_reloc_contents
25c88b1d6cSniklas   PARAMS ((reloc_howto_type *, bfd *, bfd_vma, bfd_byte *,
26*d2201f2fSdrahn 	   bfd_vma (*) (bfd_byte *, int),
27*d2201f2fSdrahn 	   void (*) (bfd_vma, bfd_byte *, int)));
28c88b1d6cSniklas 
29c88b1d6cSniklas extern bfd_reloc_status_type _bfd_ns32k_final_link_relocate
30c88b1d6cSniklas   PARAMS ((reloc_howto_type *, bfd *, asection *, bfd_byte *, bfd_vma,
31c88b1d6cSniklas 	   bfd_vma, bfd_vma));
32c88b1d6cSniklas 
33*d2201f2fSdrahn extern bfd_vma _bfd_ns32k_get_displacement PARAMS ((bfd_byte *, int));
34*d2201f2fSdrahn extern bfd_vma _bfd_ns32k_get_immediate PARAMS ((bfd_byte *, int));
35*d2201f2fSdrahn extern void _bfd_ns32k_put_displacement PARAMS ((bfd_vma, bfd_byte *, int));
36*d2201f2fSdrahn extern void _bfd_ns32k_put_immediate PARAMS ((bfd_vma, bfd_byte *, int));
37c88b1d6cSniklas 
38c88b1d6cSniklas extern bfd_reloc_status_type _bfd_ns32k_reloc_disp
39c88b1d6cSniklas   PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
40c88b1d6cSniklas extern bfd_reloc_status_type _bfd_ns32k_reloc_imm
41c88b1d6cSniklas   PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
42