OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gas/] [config/] [obj-evax.h] - Blame information for rev 160

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 khays
/* 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.
6
 
7
   This file is part of GAS, the GNU Assembler.
8
 
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)
12
   any later version.
13
 
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.
18
 
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.  */
23
 
24
/*
25
 * This file is obj-evax.h and is intended to be a template for
26
 * object format specific header files.
27
 */
28
 
29
#include "as.h"
30
 
31
/* define an obj specific macro off which target cpu back ends may key.  */
32
#define OBJ_EVAX 1
33
 
34
/* include whatever target cpu is appropriate.  */
35
#include "targ-cpu.h"
36
 
37
#define OUTPUT_FLAVOR bfd_target_evax_flavour
38
 
39
struct fix;
40
 
41 160 khays
/* Simply linked list of .linkage.  */
42 16 khays
struct alpha_linkage_fixups
43
{
44 160 khays
  /* Next entry.  */
45 16 khays
  struct alpha_linkage_fixups *next;
46 160 khays
 
47
  /* Corresponding fixup.  */
48 16 khays
  struct fix *fixp;
49 160 khays
 
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.  */
53 16 khays
  symbolS *label;
54
};
55
 
56
/*
57
 * SYMBOLS
58
 */
59
 
60
/*
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.
66
 */
67
 
68
/* #define SYMBOLS_NEED_PACKPOINTERS */
69
 
70
#define OBJ_EMIT_LINENO(a,b,c)  /* must be *something*.  This no-op's it out.  */
71
 
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
76
 
77
#define S_GET_OTHER(S)  0
78
#define S_GET_TYPE(S)   0
79
#define S_GET_DESC(S)   0
80
 
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
84
 
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
88
 
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 */
94
 
95
#define LKP_S_K_SIZE 16
96
 
97
extern segT alpha_link_section;
98
extern struct alpha_linkage_fixups *alpha_linkage_fixup_root;
99
 
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 *);
106
 
107
/*
108
 * Local Variables:
109
 * comment-column: 0
110
 * fill-column: 131
111
 * End:
112
 */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.