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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [config/] [obj-evax.h] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
/* This file is obj-evax.h
2
   Copyright 1996, 2000, 2005, 2007, 2009 Free Software Foundation, Inc.
3
   Contributed by Klaus Kämpf (kkaempf@progis.de) of
4
     proGIS Software, Aachen, Germany.
5
 
6
   This file is part of GAS, the GNU Assembler.
7
 
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 3, or (at your option)
11
   any later version.
12
 
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.
17
 
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.  */
22
 
23
/*
24
 * This file is obj-evax.h and is intended to be a template for
25
 * object format specific header files.
26
 */
27
 
28
#include "as.h"
29
 
30
/* define an obj specific macro off which target cpu back ends may key.  */
31
#define OBJ_EVAX 1
32
 
33
/* include whatever target cpu is appropriate.  */
34
#include "targ-cpu.h"
35
 
36
#define OUTPUT_FLAVOR bfd_target_evax_flavour
37
 
38
struct fix;
39
 
40
struct alpha_linkage_fixups
41
{
42
  struct alpha_linkage_fixups *next;
43
  struct fix *fixp;
44
  segT seg;
45
  symbolS *label;
46
};
47
 
48
/*
49
 * SYMBOLS
50
 */
51
 
52
/*
53
 * If your object format needs to reorder symbols, define this.  When
54
 * defined, symbols are kept on a doubly linked list and functions are
55
 * made available for push, insert, append, and delete.  If not defined,
56
 * symbols are kept on a singly linked list, only the append and clear
57
 * facilities are available, and they are macros.
58
 */
59
 
60
/* #define SYMBOLS_NEED_PACKPOINTERS */
61
 
62
/*  */
63
typedef struct
64
  {
65
    void *nothing;
66
  }
67
obj_symbol_type;                /* should be the format's symbol structure */
68
 
69
typedef void *object_headers;
70
 
71
#define OBJ_EMIT_LINENO(a,b,c)  /* must be *something*.  This no-op's it out.  */
72
 
73
/* This field keeps the symbols position in the link section.  */
74
#define OBJ_SYMFIELD_TYPE valueT
75
 
76
#define obj_symbol_new_hook(s)       evax_symbol_new_hook (s)
77
#define obj_frob_symbol(s,p)         evax_frob_symbol (s, &p)
78
#define obj_frob_file_before_adjust  evax_frob_file_before_adjust
79
#define obj_frob_file_before_fix     evax_frob_file_before_fix
80
 
81
#define S_SET_OTHER(S,V)
82
#define S_SET_TYPE(S,T)
83
#define S_SET_DESC(S,D)
84
#define S_GET_OTHER(S)  0
85
#define S_GET_TYPE(S)   0
86
#define S_GET_DESC(S)   0
87
 
88
#define PDSC_S_K_KIND_FP_STACK 9
89
#define PDSC_S_K_KIND_FP_REGISTER 10
90
#define PDSC_S_K_KIND_NULL 8
91
 
92
#define PDSC_S_K_MIN_STACK_SIZE 32
93
#define PDSC_S_K_MIN_REGISTER_SIZE 24
94
#define PDSC_S_K_NULL_SIZE 16
95
 
96
#define PDSC_S_M_HANDLER_VALID 0x10             /* low byte */
97
#define PDSC_S_M_HANDLER_DATA_VALID 0x40        /* low byte */
98
#define PDSC_S_M_BASE_REG_IS_FP 0x80            /* low byte */
99
#define PDSC_S_M_NATIVE 0x10            /* high byte */
100
#define PDSC_S_M_NO_JACKET 0x20         /* high byte */
101
 
102
#define LKP_S_K_SIZE 16
103
 
104
extern segT alpha_link_section;
105
extern struct alpha_linkage_fixups *alpha_linkage_fixup_root;
106
 
107
extern void evax_section (int);
108
extern void evax_symbol_new_hook (symbolS *);
109
extern void evax_frob_symbol (symbolS *, int *);
110
extern void evax_frob_file_before_adjust (void);
111
extern void evax_frob_file_before_fix (void);
112
extern char *evax_shorten_name (char *);
113
 
114
/*
115
 * Local Variables:
116
 * comment-column: 0
117
 * fill-column: 131
118
 * End:
119
 */

powered by: WebSVN 2.1.0

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