Changeset 2690
- Timestamp:
- Apr 1, 2006, 10:48:09 PM (19 years ago)
- Location:
- trunk/emx
- Files:
-
- 5 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/emx/ChangeLog.emx
r2689 r2690 1 1 /* $Id$ */ 2 3 2006-04-01: knut st. osmundsen <bird-gccos2-spam@anduin.net> 4 - libend: 5 o #89: wlink defines __end, _end, __edata and _edata, so split 6 it all up even more so wlink doesn't get upset. 2 7 3 8 2006-03-31: knut st. osmundsen <bird-gccos2-spam@anduin.net> -
trunk/emx/Makefile.kmk
r2675 r2690 79 79 libend_SOURCES = \ 80 80 src/libend/x86/end.asm \ 81 src/libend/x86/endlink386.asm 81 src/libend/x86/endtext.asm \ 82 src/libend/x86/enddata.asm \ 83 src/libend/x86/endlink386.asm \ 84 src/libend/x86/weakzero.asm 82 85 83 86 # -
trunk/emx/src/libend/386/end.asm
r1568 r2690 1 1 ; end.asm (emx+gcc) -- Copyright (c) 1995 by Eberhard Mattes 2 3 ; ilink and link386 uses this, wlink defines both of these. 2 4 3 5 .386 4 6 5 PUBLIC WEAK$ZERO6 WEAK$ZERO = 07 8 ;PUBLIC _end - ilink defines this.9 ;PUBLIC _edata - ilink defines this.10 PUBLIC _etext11 7 PUBLIC __end 12 8 PUBLIC __edata 13 PUBLIC __etext14 9 15 10 TEXT32 SEGMENT PUBLIC PARA USE32 'CODE' 16 11 TEXT32 ENDS 17 18 12 ________TEXT SEGMENT PUBLIC PARA USE32 'CODE' 19 __etext LABEL BYTE20 _etext LABEL BYTE21 13 ________TEXT ENDS 22 23 14 CGROUP GROUP TEXT32, ________TEXT 24 15 … … 26 17 DATA32 SEGMENT PUBLIC PARA USE32 'DATA' 27 18 DATA32 ENDS 19 ________DATA SEGMENT PUBLIC PARA USE32 'DATA' 28 20 29 ________DATA SEGMENT PUBLIC PARA USE32 'DATA'30 21 __edata LABEL BYTE 31 ; _edata LABEL BYTE - ilink defines this. 22 32 23 ________DATA ENDS 33 34 35 24 c_common SEGMENT PUBLIC PARA USE32 'BSS' 36 25 c_common ENDS 26 ________BSS SEGMENT PUBLIC PARA USE32 'BSS' 37 27 38 ________BSS SEGMENT PUBLIC PARA USE32 'BSS'39 28 __end LABEL BYTE 40 ; _end LABEL BYTE - ilink defines this. 29 41 30 ________BSS ENDS 42 43 31 DGROUP GROUP DATA32, ________DATA, c_common, ________BSS 44 32 45 33 END 34 -
trunk/emx/src/libend/386/endlink386.asm
r1568 r2690 1 1 ; endlink386.asm (emx+gcc) -- Copyright (c) 1995 by Eberhard Mattes 2 2 3 ; only link386 uses this, both ilink and wlink defines these symbols. 3 4 .386 4 5 … … 6 7 PUBLIC _edata 7 8 9 10 TEXT32 SEGMENT PUBLIC PARA USE32 'CODE' 11 TEXT32 ENDS 12 ________TEXT SEGMENT PUBLIC PARA USE32 'CODE' 13 ________TEXT ENDS 14 CGROUP GROUP TEXT32, ________TEXT 15 16 8 17 DATA32 SEGMENT PUBLIC PARA USE32 'DATA' 9 18 DATA32 ENDS 19 ________DATA SEGMENT PUBLIC PARA USE32 'DATA' 10 20 11 ________DATA SEGMENT PUBLIC PARA USE32 'DATA'12 21 _edata LABEL BYTE 22 13 23 ________DATA ENDS 14 15 16 24 c_common SEGMENT PUBLIC PARA USE32 'BSS' 17 25 c_common ENDS 26 ________BSS SEGMENT PUBLIC PARA USE32 'BSS' 18 27 19 ________BSS SEGMENT PUBLIC PARA USE32 'BSS'20 28 _end LABEL BYTE 29 21 30 ________BSS ENDS 22 23 31 DGROUP GROUP DATA32, ________DATA, c_common, ________BSS 24 32 -
trunk/emx/src/libend/x86/end.asm
r2479 r2690 1 ; end.asm (emx+gcc) -- Copyright (c) 1995 by Eberhard Mattes 2 ; Converted to NASM -- Copyright (c) 2005 by knut st. osmundsen 1 ; $Id: $ 2 ;; @file 3 ; 4 ; Define the __end symbols for link386 and ilink. 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 ; 3 26 4 5 ABSOLUTE 06 global WEAK$ZERO7 WEAK$ZERO:8 9 global _etext10 27 global __end 11 global __edata12 global __etext13 28 14 29 segment TEXT32 public align=16 use32 class=CODE FLAT 15 30 segment ________TEXT public align=16 use32 class=CODE FLAT 16 __etext:17 _etext:18 31 group CGROUP TEXT32 ________TEXT 19 32 20 33 segment DATA32 public align=16 use32 class=DATA FLAT 21 34 segment ________DATA public align=16 use32 class=DATA FLAT 22 __edata:23 24 35 segment c_common public align=16 use32 class=BSS FLAT 25 36 segment ________BSS public align=16 use32 class=BSS FLAT 26 37 __end: 27 28 38 group DGROUP DATA32 ________DATA c_common ________BSS 29 39 -
trunk/emx/src/libend/x86/endlink386.asm
r2479 r2690 1 ; endlink386.asm (emx+gcc) -- Copyright (c) 1995 by Eberhard Mattes 2 ; Converted to NASM -- Copyright (c) 2005 by knut st. osmundsen 3 1 ; $Id$ 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 ; 4 26 5 27 global _end 6 28 global _edata 7 29 30 segment TEXT32 public align=16 use32 class=CODE FLAT 31 segment ________TEXT public align=16 use32 class=CODE FLAT 32 group CGROUP TEXT32 ________TEXT 33 8 34 segment DATA32 public align=16 use32 class=DATA FLAT 9 35 segment ________DATA public align=16 use32 class=DATA FLAT 10 36 _edata: 11 12 37 segment c_common public align=16 use32 class=BSS FLAT 13 38 segment ________BSS public align=16 use32 class=BSS FLAT 14 _end: 15 39 ;_end: 16 40 group DGROUP DATA32 ________DATA c_common ________BSS 17 41
Note:
See TracChangeset
for help on using the changeset viewer.