Ran "indent", for GNU coding style; some code & comments still need fixup.
[deliverable/binutils-gdb.git] / gas / config / tc-m88k.h
CommitLineData
355afbcd 1
90d85bc4
RP
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
7This file is part of GAS, the GNU Assembler.
8
9GAS is free software; you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
11the Free Software Foundation; either version 1, or (at your option)
12any later version.
13
14GAS is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with GAS; see the file COPYING. If not, write to
21the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
22
23/* different type of relocation available in the m88k */
24
25enum reloc_type
26{
27 RELOC_LO16, /* lo16(sym) */
28 RELOC_HI16, /* hi16(sym) */
29 RELOC_PC16, /* bb0, bb1, bcnd */
30 RELOC_PC26, /* br, bsr */
31 RELOC_32, /* jump tables, etc */
32 RELOC_IW16, /* global access through linker regs 28 */
33 NO_RELOC
34};
35
36struct reloc_info_m88k
37{
355afbcd
KR
38 unsigned long int r_address;
39 unsigned int r_symbolnum:24;
40 unsigned int r_extern:1;
41 unsigned int r_pad:3;
42 enum reloc_type r_type:4;
43 long int r_addend;
90d85bc4
RP
44};
45
46#define relocation_info reloc_info_m88k
47
48#define LOCAL_LABEL(name) (name[0] =='@' \
49 && ( name [1] == 'L' || name [1] == '.' ))
This page took 0.03935 seconds and 4 git commands to generate.