Fix ia64 execute/930630-1.c miscompilation.
[official-gcc.git] / boehm-gc / gc_watcom.asm
blob5131ab9650501d16fe8d62c8f5425bbeb2af670d
2 name gc_watcom
4 .386p
6 extrn _edata : byte ; end of DATA (start of BSS)
7 extrn _end : byte ; end of BSS (start of STACK)
8 extrn __nullarea : word
10 extrn "C",_STACKLOW : dword
11 extrn "C",_STACKTOP : dword
14 DGROUP group _DATA
16 _DATA segment dword public 'DATA'
17 _DATA ends
19 _TEXT segment para public use32 'CODE'
20 assume cs:_TEXT, ds:DGROUP, ss:DGROUP
22 public Get_DATASTART
23 align 4
24 Get_DATASTART proc near
26 mov eax,offset DGROUP:__nullarea
27 ret
29 Get_DATASTART endp
31 public Get_DATAEND
32 align 4
33 Get_DATAEND proc near
35 mov eax,offset DGROUP:_end
36 ret
38 Get_DATAEND endp
40 public Get_STACKBOTTOM
41 align 4
42 Get_STACKBOTTOM proc near
44 mov eax,_STACKTOP
45 ret
47 Get_STACKBOTTOM endp
49 _TEXT ends
51 end