瀏覽代碼

go32v2: define __crt0_startup_flags as .comm rather than a global symbol. This allows linking against DJGPP libs and code which might also define this symbol. This change is also inline with recent crt0.S versions in DJGPP.

git-svn-id: trunk@47536 -
Károly Balogh 4 年之前
父節點
當前提交
bf8a020316
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      rtl/go32v2/v2prt0.as

+ 1 - 4
rtl/go32v2/v2prt0.as

@@ -38,6 +38,7 @@
         .comm   __stubinfo, 4
         .comm   ___djgpp_base_address, 4
         .comm   ___djgpp_selector_limit, 4
+        .comm   __crt0_startup_flags, 4
         .comm   ___djgpp_stack_limit, 4
         .lcomm  sel_buf, 8
 
@@ -921,10 +922,6 @@ ___v2prt0_start_fs:
 ___bs_count:
         .long   1
 
-        .globl  __crt0_startup_flags
-__crt0_startup_flags:
-        .long   0
-
         .globl  __dos_ds
 __dos_ds:
         .long   0