Changeset 2479


Ignore:
Timestamp:
Dec 5, 2005, 4:23:54 AM (20 years ago)
Author:
bird
Message:

converted to nasm.

Location:
trunk/emx/src/libend/x86
Files:
1 added
2 copied

Legend:

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

    r2468 r2479  
    11; end.asm (emx+gcc) -- Copyright (c) 1995 by Eberhard Mattes
    2 
    3                 .386
    4 
    5                 PUBLIC  WEAK$ZERO
    6 WEAK$ZERO       =       0
    7 
    8                 ;PUBLIC  _end - ilink defines this.
    9                 ;PUBLIC  _edata  - ilink defines this.
    10                 PUBLIC  _etext
    11                 PUBLIC  __end
    12                 PUBLIC  __edata
    13                 PUBLIC  __etext
    14 
    15 TEXT32          SEGMENT PUBLIC PARA USE32 'CODE'
    16 TEXT32          ENDS
    17 
    18 ________TEXT    SEGMENT PUBLIC PARA USE32 'CODE'
    19 __etext         LABEL BYTE
    20 _etext          LABEL BYTE
    21 ________TEXT    ENDS
    22 
    23 CGROUP          GROUP TEXT32, ________TEXT
     2; Converted to NASM -- Copyright (c) 2005 by knut st. osmundsen
    243
    254
    26 DATA32          SEGMENT PUBLIC PARA USE32 'DATA'
    27 DATA32          ENDS
     5ABSOLUTE 0
     6global WEAK$ZERO
     7WEAK$ZERO:
    288
    29 ________DATA    SEGMENT PUBLIC PARA USE32 'DATA'
    30 __edata         LABEL BYTE
    31 ; _edata          LABEL BYTE - ilink defines this.
    32 ________DATA    ENDS
     9global  _etext
     10global  __end
     11global  __edata
     12global  __etext
    3313
     14segment TEXT32 public align=16 use32 class=CODE FLAT
     15segment ________TEXT public align=16 use32 class=CODE FLAT
     16__etext:
     17_etext:
     18group CGROUP TEXT32 ________TEXT
    3419
    35 c_common        SEGMENT PUBLIC PARA USE32 'BSS'
    36 c_common        ENDS
     20segment DATA32 public align=16 use32 class=DATA FLAT
     21segment ________DATA public align=16 use32 class=DATA FLAT
     22__edata:
    3723
    38 ________BSS     SEGMENT PUBLIC PARA USE32 'BSS'
    39 __end           LABEL BYTE
    40 ; _end          LABEL BYTE - ilink defines this.
    41 ________BSS     ENDS
     24segment c_common public align=16 use32 class=BSS FLAT
     25segment ________BSS public align=16 use32 class=BSS FLAT
     26__end:
    4227
    43 DGROUP          GROUP   DATA32, ________DATA, c_common, ________BSS
     28group DGROUP DATA32 ________DATA c_common ________BSS
    4429
    45                 END
  • trunk/emx/src/libend/x86/endlink386.asm

    r2468 r2479  
    11; endlink386.asm (emx+gcc) -- Copyright (c) 1995 by Eberhard Mattes
    2 
    3                 .386
    4 
    5                 PUBLIC  _end
    6                 PUBLIC  _edata
    7 
    8 DATA32          SEGMENT PUBLIC PARA USE32 'DATA'
    9 DATA32          ENDS
    10 
    11 ________DATA    SEGMENT PUBLIC PARA USE32 'DATA'
    12 _edata          LABEL BYTE
    13 ________DATA    ENDS
     2; Converted to NASM -- Copyright (c) 2005 by knut st. osmundsen
    143
    154
    16 c_common        SEGMENT PUBLIC PARA USE32 'BSS'
    17 c_common        ENDS
     5global _end
     6global _edata
    187
    19 ________BSS     SEGMENT PUBLIC PARA USE32 'BSS'
    20 _end            LABEL BYTE
    21 ________BSS     ENDS
     8segment DATA32 public align=16 use32 class=DATA FLAT
     9segment ________DATA public align=16 use32 class=DATA FLAT
     10_edata:
    2211
    23 DGROUP          GROUP   DATA32, ________DATA, c_common, ________BSS
     12segment c_common public align=16 use32 class=BSS FLAT
     13segment ________BSS public align=16 use32 class=BSS FLAT
     14_end:
    2415
    25                 END
     16group DGROUP DATA32 ________DATA c_common ________BSS
     17
Note: See TracChangeset for help on using the changeset viewer.