Ran "indent", for GNU coding style; some code & comments still need fixup.
[deliverable/binutils-gdb.git] / gas / config / obj-bfd-sunos.c
CommitLineData
a39116f1 1/* obj-bfd-sunos.c
01170860 2 Copyright (C) 1987, 1992 Free Software Foundation, Inc.
355afbcd 3
a39116f1 4 This file is part of GAS, the GNU Assembler.
355afbcd 5
a39116f1
RP
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
355afbcd 10
a39116f1
RP
11 GAS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
355afbcd 15
a39116f1
RP
16 You should have received a copy of the GNU General Public License
17 along with GAS; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20
0e39a8bb
RP
21#include "as.h"
22
355afbcd
KR
23static
24
25const short seg_N_TYPE[] =
26{
27 N_ABS,
28 N_TEXT,
29 N_DATA,
30 N_BSS,
31 N_UNDF, /* unknown */
32 N_UNDF, /* absent */
33 N_UNDF, /* pass1 */
34 N_UNDF, /* error */
35 N_UNDF, /* bignum/flonum */
36 N_UNDF, /* difference */
37 N_REGISTER, /* register */
38};
0e39a8bb 39
355afbcd
KR
40const segT N_TYPE_seg[N_TYPE + 2] =
41{ /* N_TYPE == 0x1E = 32-2 */
42 SEG_UNKNOWN, /* N_UNDF == 0 */
43 SEG_GOOF,
44 SEG_ABSOLUTE, /* N_ABS == 2 */
45 SEG_GOOF,
46 SEG_TEXT, /* N_TEXT == 4 */
47 SEG_GOOF,
48 SEG_DATA, /* N_DATA == 6 */
49 SEG_GOOF,
50 SEG_BSS, /* N_BSS == 8 */
51 SEG_GOOF,
52 SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF,
53 SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF,
54 SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF,
55 SEG_REGISTER, /* dummy N_REGISTER for regs = 30 */
56 SEG_GOOF,
0e39a8bb
RP
57};
58
59
355afbcd
KR
60void
61obj_symbol_new_hook (symbolP)
62 symbolS *symbolP;
0e39a8bb 63{
355afbcd
KR
64 return;
65} /* obj_symbol_new_hook() */
0e39a8bb
RP
66
67/*
68 * Local Variables:
69 * comment-column: 0
70 * fill-column: 131
71 * End:
72 */
73
74/* end of obj-bfd-sunos.c */
This page took 0.058364 seconds and 4 git commands to generate.