]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/config/tc-m68k.h
Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)
[thirdparty/binutils-gdb.git] / gas / config / tc-m68k.h
CommitLineData
fecd2382
RP
1/*
2 * This file is tp-generic.h and is intended to be a template for
3 * target processor specific header files.
4 */
5
6#define TC_M68K 1
7
8#ifdef TE_SUN3
9/* This variable contains the value to write out at the beginning of
10 the a.out file. The 2<<16 means that this is a 68020 file instead
11 of an old-style 68000 file */
12
13#define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE (2<<16|OMAGIC); /* Magic byte for file header */
14#endif /* TE_SUN3 */
a39116f1
RP
15
16#define AOUT_MACHTYPE 0x2
17#define REVERSE_SORT_RELOCS /* FIXME-NOW: this line can be removed. */
18#define LOCAL_LABELS_FB
19
20#define tc_crawl_symbol_chain(a) {;} /* not used */
21#define tc_headers_hook(a) {;} /* not used */
22#define tc_aout_pre_write_hook(x) {;} /* not used */
fecd2382 23
a39116f1
RP
24#define LISTING_WORD_SIZE 2 /* A word is 2 bytes */
25#define LISTING_LHS_WIDTH 2 /* One word on the first line */
26#define LISTING_LHS_WIDTH_SECOND 2 /* One word on the second line */
27#define LISTING_LHS_CONT_LINES 4 /* And 4 lines max */
28#define LISTING_HEADER "68K GAS "
29
30/* Copied from write.c */
31#define M68K_AIM_KLUDGE(aim, this_state,this_type) \
32 if (aim==0 && this_state== 4) { /* hard encoded from tc-m68k.c */ \
33 aim=this_type->rlx_forward+1; /* Force relaxation into word mode */ \
34 }
fecd2382
RP
35
36/*
37 * Local Variables:
38 * comment-column: 0
39 * fill-column: 131
40 * End:
41 */
42
43/* end of tc-m68k.h */