Explorar o código

Revert wrong commit 20552 to tags/release_2_6_0 instead of branches/fixes_2_6_0

git-svn-id: tags/release_2_6_0@20559 -
pierre %!s(int64=13) %!d(string=hai) anos
pai
achega
205b10c1e3
Modificáronse 1 ficheiros con 4 adicións e 5 borrados
  1. 4 5
      rtl/go32v2/v2prt0.as

+ 4 - 5
rtl/go32v2/v2prt0.as

@@ -852,7 +852,7 @@ _pascal_start:
         movl    %esp,%ebx
         movl    12(%ebx),%eax
         movl    %eax,U_SYSTEM_ENVP
-        movl    %eax,__environ
+        movl    %eax,_environ
         movl    8(%ebx),%eax
         movl    %eax,_args
         movl    4(%ebx),%eax
@@ -887,10 +887,9 @@ _core_selector:
         .globl ___v2prt0_start_fs
 ___v2prt0_start_fs:
         .word 0
-        /* _environ or __environ are used depending on
-           crt1.c versions for DJGPP, the linker script
-           now just provides an alias to avoid problems. */
-        .comm  __environ,4
+        .globl  _environ
+_environ:
+         .long 0
 
 /* Here Pierre Muller added all what was in crt1.c  */
 /* in assembler                              */