Browse Source

--- Merging r47536 into '.':
U rtl/go32v2/v2prt0.as
--- Recording mergeinfo for merge of r47536 into '.':
U .

# revisions: 47536
r47536 | karoly | 2020-11-23 04:42:16 +0100 (Mon, 23 Nov 2020) | 1 line
Changed paths:
M /trunk/rtl/go32v2/v2prt0.as

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: branches/fixes_3_2@47538 -

marco 4 years ago
parent
commit
397093aeed
1 changed files with 1 additions and 4 deletions
  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