~ubuntu-branches/ubuntu/quantal/gclcvs/quantal

« back to all changes in this revision

Viewing changes to h/sun3-os4.h

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2004-06-24 15:13:46 UTC
  • Revision ID: james.westby@ubuntu.com-20040624151346-xh0xaaktyyp7aorc
Tags: 2.7.0-26
C_GC_OFFSET is 2 on m68k-linux

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#define SUN3
 
2
#include "bsd.h"
 
3
#include "mc68k.h"
 
4
#define PAGEWIDTH 12
 
5
  
 
6
#define ADDITIONAL_FEATURES \
 
7
                     ADD_FEATURE("SUN"); \
 
8
             ADD_FEATURE("MC68020")
 
9
 
 
10
 
 
11
#define MC68020
 
12
#define IEEEFLOAT
 
13
 
 
14
 
 
15
#define DATA_BEGIN (char *)N_DATADDR(header)
 
16
 
 
17
 
 
18
/* in release 4.0 it is SIGSEGV, and release 4.1 it is SIGBUS */
 
19
#define INSTALL_MPROTECT_HANDLER (signal(SIGSEGV, memprotect_handler),\
 
20
                                  signal(SIGBUS, memprotect_handler))
 
21
 
 
22
#define RELOC_FILE "rel_sun3.c"
 
23
 
 
24
 
 
25
/* Begin for cmpinclude */
 
26
 
 
27
#ifdef __GNUC__
 
28
#undef __BUILTIN_VA_ARG_INCR
 
29
#endif
 
30
 
 
31
#define SGC
 
32
 
 
33
/* End for cmpinclude */
 
34
 
 
35
 
 
36
/* Sun 4.1 needs to have some cached yp stuff undone at save time */
 
37
 
 
38
#define HAVE_YP_UNBIND