Changeset 2479
- Timestamp:
- Dec 5, 2005, 4:23:54 AM (20 years ago)
- Location:
- trunk/emx/src/libend/x86
- Files:
-
- 1 added
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/emx/src/libend/x86/end.asm
r2468 r2479 1 1 ; 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 24 3 25 4 26 DATA32 SEGMENT PUBLIC PARA USE32 'DATA' 27 DATA32 ENDS 5 ABSOLUTE 0 6 global WEAK$ZERO 7 WEAK$ZERO: 28 8 29 ________DATA SEGMENT PUBLIC PARA USE32 'DATA' 30 __edata LABEL BYTE 31 ; _edata LABEL BYTE - ilink defines this. 32 ________DATA ENDS 9 global _etext 10 global __end 11 global __edata 12 global __etext 33 13 14 segment TEXT32 public align=16 use32 class=CODE FLAT 15 segment ________TEXT public align=16 use32 class=CODE FLAT 16 __etext: 17 _etext: 18 group CGROUP TEXT32 ________TEXT 34 19 35 c_common SEGMENT PUBLIC PARA USE32 'BSS' 36 c_common ENDS 20 segment DATA32 public align=16 use32 class=DATA FLAT 21 segment ________DATA public align=16 use32 class=DATA FLAT 22 __edata: 37 23 38 ________BSS SEGMENT PUBLIC PARA USE32 'BSS' 39 __end LABEL BYTE 40 ; _end LABEL BYTE - ilink defines this. 41 ________BSS ENDS 24 segment c_common public align=16 use32 class=BSS FLAT 25 segment ________BSS public align=16 use32 class=BSS FLAT 26 __end: 42 27 43 DGROUP GROUP DATA32, ________DATA, c_common,________BSS28 group DGROUP DATA32 ________DATA c_common ________BSS 44 29 45 END -
trunk/emx/src/libend/x86/endlink386.asm
r2468 r2479 1 1 ; 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 14 3 15 4 16 c_common SEGMENT PUBLIC PARA USE32 'BSS' 17 c_common ENDS 5 global _end 6 global _edata 18 7 19 ________BSS SEGMENT PUBLIC PARA USE32 'BSS' 20 _end LABEL BYTE 21 _ _______BSS ENDS8 segment DATA32 public align=16 use32 class=DATA FLAT 9 segment ________DATA public align=16 use32 class=DATA FLAT 10 _edata: 22 11 23 DGROUP GROUP DATA32, ________DATA, c_common, ________BSS 12 segment c_common public align=16 use32 class=BSS FLAT 13 segment ________BSS public align=16 use32 class=BSS FLAT 14 _end: 24 15 25 END 16 group DGROUP DATA32 ________DATA c_common ________BSS 17
Note:
See TracChangeset
for help on using the changeset viewer.