source: trunk/emx/src/libend/x86/endlink386.asm

Last change on this file was 2690, checked in by bird, 19 years ago

#89: wlink defines end, _end, edata and _edata, so split it all up even more so wlink doesn't get upset.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1; $Id: endlink386.asm 2690 2006-04-01 20:48:09Z bird $
2;; @file
3;
4; Define the _edata and _end symbols for the link386 linker.
5;
6; Copyright (c) 2006 knut st. osmundsen <bird@anduin.net>
7;
8;
9; This file is part of kLIBC.
10;
11; kLIBC is free software; you can redistribute it and/or modify
12; it under the terms of the GNU Lesser General Public License as published
13; by the Free Software Foundation; either version 2 of the License, or
14; (at your option) any later version.
15;
16; kLIBC is distributed in the hope that it will be useful,
17; but WITHOUT ANY WARRANTY; without even the implied warranty of
18; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19; GNU Lesser General Public License for more details.
20;
21; You should have received a copy of the GNU Lesser General Public License
22; along with kLIBC; if not, write to the Free Software
23; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24;
25;
26
27global _end
28global _edata
29
30segment TEXT32 public align=16 use32 class=CODE FLAT
31segment ________TEXT public align=16 use32 class=CODE FLAT
32group CGROUP TEXT32 ________TEXT
33
34segment DATA32 public align=16 use32 class=DATA FLAT
35segment ________DATA public align=16 use32 class=DATA FLAT
36_edata:
37segment c_common public align=16 use32 class=BSS FLAT
38segment ________BSS public align=16 use32 class=BSS FLAT
39;_end:
40group DGROUP DATA32 ________DATA c_common ________BSS
41
Note: See TracBrowser for help on using the repository browser.