Ignore:
Timestamp:
Apr 1, 2006, 10:48:09 PM (19 years ago)
Author:
bird
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/emx/src/libend/386/end.asm

    r1568 r2690  
    11; end.asm (emx+gcc) -- Copyright (c) 1995 by Eberhard Mattes
     2
     3; ilink and link386 uses this, wlink defines both of these.
    24
    35                .386
    46
    5                 PUBLIC  WEAK$ZERO
    6 WEAK$ZERO       =       0
    7 
    8                 ;PUBLIC  _end - ilink defines this.
    9                 ;PUBLIC  _edata  - ilink defines this.
    10                 PUBLIC  _etext
    117                PUBLIC  __end
    128                PUBLIC  __edata
    13                 PUBLIC  __etext
    149
    1510TEXT32          SEGMENT PUBLIC PARA USE32 'CODE'
    1611TEXT32          ENDS
    17 
    1812________TEXT    SEGMENT PUBLIC PARA USE32 'CODE'
    19 __etext         LABEL BYTE
    20 _etext          LABEL BYTE
    2113________TEXT    ENDS
    22 
    2314CGROUP          GROUP TEXT32, ________TEXT
    2415
     
    2617DATA32          SEGMENT PUBLIC PARA USE32 'DATA'
    2718DATA32          ENDS
     19________DATA    SEGMENT PUBLIC PARA USE32 'DATA'
    2820
    29 ________DATA    SEGMENT PUBLIC PARA USE32 'DATA'
    3021__edata         LABEL BYTE
    31 ; _edata          LABEL BYTE - ilink defines this.
     22
    3223________DATA    ENDS
    33 
    34 
    3524c_common        SEGMENT PUBLIC PARA USE32 'BSS'
    3625c_common        ENDS
     26________BSS     SEGMENT PUBLIC PARA USE32 'BSS'
    3727
    38 ________BSS     SEGMENT PUBLIC PARA USE32 'BSS'
    3928__end           LABEL BYTE
    40 ; _end          LABEL BYTE - ilink defines this.
     29
    4130________BSS     ENDS
    42 
    4331DGROUP          GROUP   DATA32, ________DATA, c_common, ________BSS
    4432
    4533                END
     34
Note: See TracChangeset for help on using the changeset viewer.