~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/rtl/linux/m68k/sighndh.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    This file is part of the Free Pascal run time library.
 
3
    Copyright (c) 1999-2000 by Pierre Muller,
 
4
    member of the Free Pascal development team.
 
5
 
 
6
    See the file COPYING.FPC, included in this distribution,
 
7
    for details about the copyright.
 
8
 
 
9
    This program is distributed in the hope that it will be useful,
 
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
12
 
 
13
 **********************************************************************}
 
14
 
 
15
type
 
16
  { REMARK: floating point regs are defined as arrays of
 
17
    3 longints; I don't know if C does align this to
 
18
    16 byte boundaries for each element of the array PM }
 
19
  { If C does we might need to define this as
 
20
    array from 0 to 3 }
 
21
 
 
22
  tfpreg = array[0..2] of longint;
 
23
 
 
24
  pfpstate = ^tfpstate;
 
25
  tfpstate = record
 
26
           pcr,psr,fpiaddr : longint;
 
27
           fpreg : array [0..7] of tfpreg;
 
28
  end;
 
29
 
 
30
  { as defined in asm_m68k/signal.h }
 
31
  Stack_T = Record
 
32
    ss_sp : pointer;
 
33
    ss_flags : longint;
 
34
    ss_size : size_t;
 
35
  end;
 
36
 
 
37
  { SigContextRec corresponds to the ucontext record
 
38
    in linux asm-m68k/ucontext.h include file }
 
39
  PSigContext = ^TSigContext;
 
40
  TSigContext = record
 
41
    uc_flags : cardinal;
 
42
    uc_link : pSigContext;
 
43
    uc_stack : stack_t; { what's that ?? }
 
44
    { fields from 'version' to 'pc'
 
45
      correspond to the mcontext struct in asm-m68k/ucontext.h file }
 
46
    version : longint; { SigContext version check }
 
47
    { 18 general registers }
 
48
    d0,d1,d2,d3,d4,d5,d6,d7 : cardinal;
 
49
    a0,a1,a2,a3,a4,a5 : cardinal;
 
50
    fp,sp,ps,pc : cardinal;
 
51
    { fields from 'pcr' to 'fpreg'
 
52
      are floating point part }
 
53
    pcr,psr,fpiaddr : longint;
 
54
    fpreg : array[0..7] of tfpreg; { how is this aligned ?? }
 
55
    filler : array[0..79] of cardinal;
 
56
    sigmask : TSigSet;
 
57
  end;