Clean up some of the obvious m88k bitrot.
[deliverable/binutils-gdb.git] / gas / config / tc-m88k.h
1
2 /* m88k.h -- Assembler for the Motorola 88000
3 Contributed by Devon Bowen of Buffalo University
4 and Torbjorn Granlund of the Swedish Institute of Computer Science.
5 Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc.
6
7 This file is part of GAS, the GNU Assembler.
8
9 GAS is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 1, or (at your option)
12 any later version.
13
14 GAS is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with GAS; see the file COPYING. If not, write to
21 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
22
23 #define NEED_FX_R_TYPE
24
25 /* different type of relocation available in the m88k */
26
27 enum reloc_type
28 {
29 RELOC_LO16, /* lo16(sym) */
30 RELOC_HI16, /* hi16(sym) */
31 RELOC_PC16, /* bb0, bb1, bcnd */
32 RELOC_PC26, /* br, bsr */
33 RELOC_32, /* jump tables, etc */
34 RELOC_IW16, /* global access through linker regs 28 */
35 NO_RELOC
36 };
37
38 struct reloc_info_m88k
39 {
40 unsigned long int r_address;
41 unsigned int r_symbolnum:24;
42 unsigned int r_extern:1;
43 unsigned int r_pad:3;
44 enum reloc_type r_type:4;
45 long int r_addend;
46 };
47
48 #define relocation_info reloc_info_m88k
49
50 #define LOCAL_LABEL(name) (name[0] =='@' \
51 && ( name [1] == 'L' || name [1] == '.' ))
52
53 #ifndef BFD_ASSEMBLER
54 #define md_convert_frag(h,f) {as_fatal ("m88k convert_frag\n");}
55 #else
56 #define md_convert_frag(b,s,f) {as_fatal ("m88k convert_frag\n");}
57 #endif
This page took 0.033366 seconds and 5 git commands to generate.