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

« back to all changes in this revision

Viewing changes to h/sgi4d.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 SGI
 
2
#include "att.h"
 
3
#include "mips.h"
 
4
 
 
5
#define ADDITIONAL_FEATURES \
 
6
                     ADD_FEATURE("SGI"); \
 
7
                     ADD_FEATURE("MIPS")
 
8
 
 
9
/* #define      mips 1
 
10
   The system defines this
 
11
 */
 
12
#define IEEEFLOAT
 
13
 
 
14
#undef   FILECPY_HEADER
 
15
#define FILECPY_HEADER \
 
16
        filecpy(save, original, header.a_text);
 
17
 
 
18
 
 
19
        /* text relocated; data is page-aligned after the text */
 
20
#define DATA_BEGIN (char *)((TXTRELOC+header.a_text+(PAGSIZ-1)) & ~(PAGSIZ-1))
 
21
 
 
22
#define PAGSIZ          4096
 
23
#define TXTRELOC        4096
 
24
 
 
25
#undef SET_REAL_MAXPAGE
 
26
#define SET_REAL_MAXPAGE real_maxpage = MAXPAGE 
 
27
 
 
28
#define RELOC_FILE "rel_mips.c"
 
29
 
 
30
#undef SFASL
 
31
 
 
32
#undef NEED_GETWD
 
33
 
 
34
#define SEEK_TO_END_OFILE \
 
35
        do{HDRR symhdr; \
 
36
           fp = faslfile->sm.sm_fp;\
 
37
           fread(&fileheader, sizeof(fileheader), 1, fp); \
 
38
           fseek(fp, fileheader.f_symptr, 0); \
 
39
           fread(&symhdr, cbHDRR, 1, fp); \
 
40
            fseek(fp, symhdr.cbExtOffset + symhdr.iextMax * cbEXTR, 0);} \
 
41
       while(0);
 
42
 
 
43
 
 
44
#ifdef IN_UNIXFSYS
 
45
#undef ATT
 
46
#define BSD
 
47
#endif
 
48
 
 
49
 
 
50
/* #define DBEGIN 0x600000 */
 
51
               
 
52
#define UNIXSAVE "save_sgi4.c"
 
53
#define UNIXFASL "faslsgi4.c"
 
54
#define HAVE_GETDTABLESIZE
 
55
 
 
56
/* Begin for cmpinclude */
 
57
 
 
58
 
 
59
/* End for cmpinclude */