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