merge from gcc
[binutils.git] / gas / config / obj-evax.h
blob413a837cb3deb80b6c653083a11a03f8fc200c72
1 /* This file is obj-evax.h
2 Copyright 1996, 2000, 2005 Free Software Foundation, Inc.
3 Contributed by Klaus Kämpf (kkaempf@progis.de) of
4 proGIS Software, Aachen, Germany.
6 This file is part of GAS, the GNU Assembler.
8 GAS is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
13 GAS is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GAS; see the file COPYING. If not, write to
20 the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
24 * This file is obj-evax.h and is intended to be a template for
25 * object format specific header files.
28 /* define an obj specific macro off which target cpu back ends may key. */
29 #define OBJ_EVAX 1
31 /* include whatever target cpu is appropriate. */
32 #include "targ-cpu.h"
34 #define OUTPUT_FLAVOR bfd_target_evax_flavour
37 * SYMBOLS
41 * If your object format needs to reorder symbols, define this. When
42 * defined, symbols are kept on a doubly linked list and functions are
43 * made available for push, insert, append, and delete. If not defined,
44 * symbols are kept on a singly linked list, only the append and clear
45 * facilities are available, and they are macros.
48 /* #define SYMBOLS_NEED_PACKPOINTERS */
50 /* */
51 typedef struct
53 void *nothing;
55 obj_symbol_type; /* should be the format's symbol structure */
57 typedef void *object_headers;
59 #define OBJ_EMIT_LINENO(a,b,c) /* must be *something*. This no-op's it out. */
61 #define obj_symbol_new_hook(s) {;}
63 #define S_SET_OTHER(S,V)
64 #define S_SET_TYPE(S,T)
65 #define S_SET_DESC(S,D)
66 #define S_GET_OTHER(S) 0
67 #define S_GET_TYPE(S) 0
68 #define S_GET_DESC(S) 0
70 #define PDSC_S_K_KIND_FP_STACK 9
71 #define PDSC_S_K_KIND_FP_REGISTER 10
72 #define PDSC_S_K_KIND_NULL 8
74 #define PDSC_S_K_MIN_STACK_SIZE 32
75 #define PDSC_S_K_MIN_REGISTER_SIZE 24
76 #define PDSC_S_K_NULL_SIZE 16
78 #define PDSC_S_M_BASE_REG_IS_FP 0x80 /* low byte */
79 #define PDSC_S_M_NATIVE 0x10 /* high byte */
80 #define PDSC_S_M_NO_JACKET 0x20 /* high byte */
82 #define LKP_S_K_SIZE 16
84 #define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR) (P2VAR) = 3
87 * Local Variables:
88 * comment-column: 0
89 * fill-column: 131
90 * End: