From bf8a020316a025d856c920f6be374908fa9cd1f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Mon, 23 Nov 2020 03:42:16 +0000 Subject: [PATCH] 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 - --- rtl/go32v2/v2prt0.as | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rtl/go32v2/v2prt0.as b/rtl/go32v2/v2prt0.as index 5d1aabe478..6314e6d54b 100644 --- a/rtl/go32v2/v2prt0.as +++ b/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