1 /* This file is obj-evax.h
2 Copyright 1996, 2000, 2005, 2007, 2009, 2010
3 Free Software Foundation, Inc.
4 Contributed by Klaus Kämpf (kkaempf@progis.de) of
5 proGIS Software, Aachen, Germany.
7 This file is part of GAS, the GNU Assembler.
9 GAS is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3, or (at your option)
14 GAS is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with GAS; see the file COPYING. If not, write to
21 the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
22 MA 02110-1301, USA. */
25 * This file is obj-evax.h and is intended to be a template for
26 * object format specific header files.
31 /* define an obj specific macro off which target cpu back ends may key. */
34 /* include whatever target cpu is appropriate. */
37 #define OUTPUT_FLAVOR bfd_target_evax_flavour
41 /* Simply linked list of .linkage. */
42 struct alpha_linkage_fixups
45 struct alpha_linkage_fixups
*next
;
47 /* Corresponding fixup. */
50 /* Label that designates this entry.
51 Note that a linkage entry can only be designated by one label.
52 Also, s_alpha_linkage force the creation of a label. */
61 * If your object format needs to reorder symbols, define this. When
62 * defined, symbols are kept on a doubly linked list and functions are
63 * made available for push, insert, append, and delete. If not defined,
64 * symbols are kept on a singly linked list, only the append and clear
65 * facilities are available, and they are macros.
68 /* #define SYMBOLS_NEED_PACKPOINTERS */
70 #define OBJ_EMIT_LINENO(a,b,c) /* must be *something*. This no-op's it out. */
72 #define obj_symbol_new_hook(s) evax_symbol_new_hook (s)
73 #define obj_frob_symbol(s,p) evax_frob_symbol (s, &p)
74 #define obj_frob_file_before_adjust evax_frob_file_before_adjust
75 #define obj_frob_file_before_fix evax_frob_file_before_fix
77 #define S_GET_OTHER(S) 0
78 #define S_GET_TYPE(S) 0
79 #define S_GET_DESC(S) 0
81 #define PDSC_S_K_KIND_FP_STACK 9
82 #define PDSC_S_K_KIND_FP_REGISTER 10
83 #define PDSC_S_K_KIND_NULL 8
85 #define PDSC_S_K_MIN_STACK_SIZE 32
86 #define PDSC_S_K_MIN_REGISTER_SIZE 24
87 #define PDSC_S_K_NULL_SIZE 16
89 #define PDSC_S_M_HANDLER_VALID 0x10 /* low byte */
90 #define PDSC_S_M_HANDLER_DATA_VALID 0x40 /* low byte */
91 #define PDSC_S_M_BASE_REG_IS_FP 0x80 /* low byte */
92 #define PDSC_S_M_NATIVE 0x10 /* high byte */
93 #define PDSC_S_M_NO_JACKET 0x20 /* high byte */
95 #define LKP_S_K_SIZE 16
97 extern segT alpha_link_section
;
98 extern struct alpha_linkage_fixups
*alpha_linkage_fixup_root
;
100 extern void evax_section (int);
101 extern void evax_symbol_new_hook (symbolS
*);
102 extern void evax_frob_symbol (symbolS
*, int *);
103 extern void evax_frob_file_before_adjust (void);
104 extern void evax_frob_file_before_fix (void);
105 extern char *evax_shorten_name (char *);
This page took 0.031726 seconds and 4 git commands to generate.