Initial import from FreeBSD RELENG_4:
[games.git] / gnu / usr.bin / as / config / tc-m68kmote.h
1 /* This file is tc-m68kmote.h
2
3    Copyright (C) 1987-1992 Free Software Foundation, Inc.
4
5    This file is part of GAS, the GNU Assembler.
6
7    GAS is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 2, or (at your option)
10    any later version.
11
12    GAS is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with GAS; see the file COPYING.  If not, write to
19    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
20
21 /*
22  * This file is tp-generic.h and is intended to be a template for
23  * target processor specific header files.
24  */
25
26 #define TC_M68K 1
27
28 #ifdef TE_SUN3
29 /* This variable contains the value to write out at the beginning of
30    the a.out file.  The 2<<16 means that this is a 68020 file instead
31    of an old-style 68000 file */
32
33 #define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE (2<<16|OMAGIC);    /* Magic byte for file header */
34 #endif /* TE_SUN3 */
35
36 #define AOUT_MACHTYPE 0x2
37 #define REVERSE_SORT_RELOCS /* FIXME-NOW: this line can be removed. */
38 #define LOCAL_LABELS_FB
39
40 #define tc_crawl_symbol_chain(a)        {;} /* not used */
41 #define tc_headers_hook(a)              {;} /* not used */
42 #define tc_aout_pre_write_hook(x)       {;} /* not used */
43
44 #define LISTING_WORD_SIZE 2   /* A word is 2 bytes */
45 #define LISTING_LHS_WIDTH 3   /* 3 word on the first line */
46 #define LISTING_LHS_WIDTH_SECOND 3  /* One word on the second line */
47 #define LISTING_LHS_CONT_LINES 4   /* And 4 lines max */
48 #define LISTING_HEADER "68K GAS "
49
50 /* Copied from write.c */
51 #define M68K_AIM_KLUDGE(aim, this_state,this_type) \
52     if (aim == 0 && this_state == 4) { /* hard encoded from tc-m68k.c */ \
53                                         aim=this_type->rlx_forward+1; /* Force relaxation into word mode */ \
54                                     }
55 #define MRI
56
57 /*
58  * Local Variables:
59  * comment-column: 0
60  * fill-column: 131
61  * End:
62  */
63
64 /* end of tc-m68kmote.h */