Commit | Line | Data |
---|---|---|
a39116f1 | 1 | /* obj-bfd-sunos.c |
01170860 | 2 | Copyright (C) 1987, 1992 Free Software Foundation, Inc. |
a39116f1 RP |
3 | |
4 | This file is part of GAS, the GNU Assembler. | |
5 | ||
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. | |
10 | ||
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. | |
15 | ||
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 | ||
23 | static | |
a39116f1 RP |
24 | |
25 | const short seg_N_TYPE[] = { | |
26 | N_ABS, | |
27 | N_TEXT, | |
28 | N_DATA, | |
29 | N_BSS, | |
30 | N_UNDF, /* unknown */ | |
31 | N_UNDF, /* absent */ | |
32 | N_UNDF, /* pass1 */ | |
33 | N_UNDF, /* error */ | |
34 | N_UNDF, /* bignum/flonum */ | |
35 | N_UNDF, /* difference */ | |
36 | N_REGISTER, /* register */ | |
37 | }; | |
0e39a8bb RP |
38 | |
39 | const segT N_TYPE_seg [N_TYPE+2] = { /* N_TYPE == 0x1E = 32-2 */ | |
40 | SEG_UNKNOWN, /* N_UNDF == 0 */ | |
41 | SEG_GOOF, | |
42 | SEG_ABSOLUTE, /* N_ABS == 2 */ | |
43 | SEG_GOOF, | |
44 | SEG_TEXT, /* N_TEXT == 4 */ | |
45 | SEG_GOOF, | |
46 | SEG_DATA, /* N_DATA == 6 */ | |
47 | SEG_GOOF, | |
48 | SEG_BSS, /* N_BSS == 8 */ | |
49 | SEG_GOOF, | |
50 | SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, | |
51 | SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, | |
52 | SEG_GOOF, SEG_GOOF, SEG_GOOF, SEG_GOOF, | |
53 | SEG_REGISTER, /* dummy N_REGISTER for regs = 30 */ | |
54 | SEG_GOOF, | |
55 | }; | |
56 | ||
57 | ||
58 | void obj_symbol_new_hook(symbolP) | |
59 | symbolS *symbolP; | |
60 | { | |
61 | return; | |
62 | } /* obj_symbol_new_hook() */ | |
63 | ||
64 | /* | |
65 | * Local Variables: | |
66 | * comment-column: 0 | |
67 | * fill-column: 131 | |
68 | * End: | |
69 | */ | |
70 | ||
71 | /* end of obj-bfd-sunos.c */ |