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 158

Go to most recent revision | 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
struct alpha_linkage_fixups
42
{
43
  struct alpha_linkage_fixups *next;
44
  struct fix *fixp;
45
  segT seg;
46
  symbolS *label;
47
};
48
 
49
/*
50
 * SYMBOLS
51
 */
52
 
53
/*
54
 * If your object format needs to reorder symbols, define this.  When
55
 * defined, symbols are kept on a doubly linked list and functions are
56
 * made available for push, insert, append, and delete.  If not defined,
57
 * symbols are kept on a singly linked list, only the append and clear
58
 * facilities are available, and they are macros.
59
 */
60
 
61
/* #define SYMBOLS_NEED_PACKPOINTERS */
62
 
63
/*  */
64
typedef struct
65
  {
66
    void *nothing;
67
  }
68
obj_symbol_type;                /* should be the format's symbol structure */
69
 
70
typedef void *object_headers;
71
 
72
#define OBJ_EMIT_LINENO(a,b,c)  /* must be *something*.  This no-op's it out.  */
73
 
74
/* This field keeps the symbols position in the link section.  */
75
#define OBJ_SYMFIELD_TYPE valueT
76
 
77
#define obj_symbol_new_hook(s)       evax_symbol_new_hook (s)
78
#define obj_frob_symbol(s,p)         evax_frob_symbol (s, &p)
79
#define obj_frob_file_before_adjust  evax_frob_file_before_adjust
80
#define obj_frob_file_before_fix     evax_frob_file_before_fix
81
 
82
#define S_GET_OTHER(S)  0
83
#define S_GET_TYPE(S)   0
84
#define S_GET_DESC(S)   0
85
 
86
#define PDSC_S_K_KIND_FP_STACK 9
87
#define PDSC_S_K_KIND_FP_REGISTER 10
88
#define PDSC_S_K_KIND_NULL 8
89
 
90
#define PDSC_S_K_MIN_STACK_SIZE 32
91
#define PDSC_S_K_MIN_REGISTER_SIZE 24
92
#define PDSC_S_K_NULL_SIZE 16
93
 
94
#define PDSC_S_M_HANDLER_VALID 0x10             /* low byte */
95
#define PDSC_S_M_HANDLER_DATA_VALID 0x40        /* low byte */
96
#define PDSC_S_M_BASE_REG_IS_FP 0x80            /* low byte */
97
#define PDSC_S_M_NATIVE 0x10            /* high byte */
98
#define PDSC_S_M_NO_JACKET 0x20         /* high byte */
99
 
100
#define LKP_S_K_SIZE 16
101
 
102
extern segT alpha_link_section;
103
extern struct alpha_linkage_fixups *alpha_linkage_fixup_root;
104
 
105
extern void evax_section (int);
106
extern void evax_symbol_new_hook (symbolS *);
107
extern void evax_frob_symbol (symbolS *, int *);
108
extern void evax_frob_file_before_adjust (void);
109
extern void evax_frob_file_before_fix (void);
110
extern char *evax_shorten_name (char *);
111
 
112
/*
113
 * Local Variables:
114
 * comment-column: 0
115
 * fill-column: 131
116
 * End:
117
 */

powered by: WebSVN 2.1.0

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