Back to index

cell-binutils  2.17cvs20070401
obj-evax.h
Go to the documentation of this file.
00001 /* This file is obj-evax.h
00002    Copyright 1996, 2000, 2005 Free Software Foundation, Inc.
00003    Contributed by Klaus Kämpf (kkaempf@progis.de) of
00004      proGIS Software, Aachen, Germany.
00005 
00006    This file is part of GAS, the GNU Assembler.
00007 
00008    GAS is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU General Public License as published by
00010    the Free Software Foundation; either version 2, or (at your option)
00011    any later version.
00012 
00013    GAS is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016    GNU General Public License for more details.
00017 
00018    You should have received a copy of the GNU General Public License
00019    along with GAS; see the file COPYING.  If not, write to
00020    the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
00021    MA 02110-1301, USA.  */
00022 
00023 /*
00024  * This file is obj-evax.h and is intended to be a template for
00025  * object format specific header files.
00026  */
00027 
00028 /* define an obj specific macro off which target cpu back ends may key.  */
00029 #define OBJ_EVAX 1
00030 
00031 /* include whatever target cpu is appropriate.  */
00032 #include "targ-cpu.h"
00033 
00034 #define OUTPUT_FLAVOR bfd_target_evax_flavour
00035 
00036 /*
00037  * SYMBOLS
00038  */
00039 
00040 /*
00041  * If your object format needs to reorder symbols, define this.  When
00042  * defined, symbols are kept on a doubly linked list and functions are
00043  * made available for push, insert, append, and delete.  If not defined,
00044  * symbols are kept on a singly linked list, only the append and clear
00045  * facilities are available, and they are macros.
00046  */
00047 
00048 /* #define SYMBOLS_NEED_PACKPOINTERS */
00049 
00050 /*  */
00051 typedef struct
00052   {
00053     void *nothing;
00054   }
00055 obj_symbol_type;            /* should be the format's symbol structure */
00056 
00057 typedef void *object_headers;
00058 
00059 #define OBJ_EMIT_LINENO(a,b,c)     /* must be *something*.  This no-op's it out.  */
00060 
00061 #define obj_symbol_new_hook(s)        {;}
00062 
00063 #define S_SET_OTHER(S,V)
00064 #define S_SET_TYPE(S,T)
00065 #define S_SET_DESC(S,D)
00066 #define S_GET_OTHER(S)      0
00067 #define S_GET_TYPE(S)       0
00068 #define S_GET_DESC(S)       0
00069 
00070 #define PDSC_S_K_KIND_FP_STACK 9
00071 #define PDSC_S_K_KIND_FP_REGISTER 10
00072 #define PDSC_S_K_KIND_NULL 8
00073 
00074 #define PDSC_S_K_MIN_STACK_SIZE 32
00075 #define PDSC_S_K_MIN_REGISTER_SIZE 24
00076 #define PDSC_S_K_NULL_SIZE 16
00077 
00078 #define PDSC_S_M_BASE_REG_IS_FP 0x80      /* low byte */
00079 #define PDSC_S_M_NATIVE 0x10              /* high byte */
00080 #define PDSC_S_M_NO_JACKET 0x20           /* high byte */
00081 
00082 #define LKP_S_K_SIZE 16
00083 
00084 #define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR) (P2VAR) = 3
00085 
00086 /*
00087  * Local Variables:
00088  * comment-column: 0
00089  * fill-column: 131
00090  * End:
00091  */