* emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
[deliverable/binutils-gdb.git] / gas / config / obj-generic.h
1 /* This file is obj-generic.h
2 Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 2000
3 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 the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
21
22 /*
23 * This file is obj-generic.h and is intended to be a template for
24 * object format specific header files.
25 */
26
27 /* define an obj specific macro off which target cpu back ends may key. */
28 #define OBJ_GENERIC 1
29
30 /* include whatever target cpu is appropriate. */
31 #include "targ-cpu.h"
32
33 /*
34 * SYMBOLS
35 */
36
37 /*
38 * If your object format needs to reorder symbols, define this. When
39 * defined, symbols are kept on a doubly linked list and functions are
40 * made available for push, insert, append, and delete. If not defined,
41 * symbols are kept on a singly linked list, only the append and clear
42 * facilities are available, and they are macros.
43 */
44
45 /* #define SYMBOLS_NEED_PACKPOINTERS */
46
47 /* */
48 typedef struct
49 {
50 void *nothing;
51 }
52
53 obj_symbol_type; /* should be the format's symbol structure */
54
55 typedef void *object_headers;
56
57 /* symbols have names */
58 #define S_GET_NAME(s) ("foo") /* get the name of a symbolP */
59 #define S_SET_NAME(s,v) ;
60 /* symbols have segments */
61 #define S_GET_SEGMENT(s) (SEG_UNKNOWN)
62 #define S_SET_SEGMENT(s,v) ;
63 /* symbols may be external */
64 #define S_IS_EXTERNAL(s) (0)
65 #define S_SET_EXTERNAL(s) ;
66
67 /* symbols may or may not be defined */
68 #define S_IS_DEFINED(s) (0)
69
70 #define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE (0) /* your magic number */
71
72 #define OBJ_EMIT_LINENO(a,b,c) /* must be *something*. This no-op's it out. */
73
74 /*
75 * Local Variables:
76 * comment-column: 0
77 * fill-column: 131
78 * End:
79 */
This page took 0.037409 seconds and 4 git commands to generate.