4 ; Special bits for dynamic link libraries
6 ; © 1994-1998 Straylight
9 ;----- Licensing note -------------------------------------------------------
11 ; This file is part of Straylight's C library stubs (xstubs).
13 ; xstubs is free software; you can redistribute it and/or modify
14 ; it under the terms of the GNU General Public License as published by
15 ; the Free Software Foundation; either version 2, or (at your option)
18 ; xstubs is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ; GNU General Public License for more details.
23 ; You should have received a copy of the GNU General Public License
24 ; along with xstubs. If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 ;----- Standard bit at the top ----------------------------------------------
32 ;----- Export things to C compiler ------------------------------------------
34 EXPORT |_Lib$Reloc$Off|
35 EXPORT |_Mod$Reloc$Off|
36 EXPORT |_Lib$Reloc$Off$DP|
38 |_Lib$Reloc$Off| EQU &21c
39 |_Mod$Reloc$Off| EQU &218
40 |_Lib$Reloc$Off$DP| EQU &f87
42 ;----- Dummy code for silly __main calls ------------------------------------
44 AREA |C$$code|,CODE,READONLY
52 DCB "__main called in DLL",0