Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37897385
en ru br
ALT Linux repositórios
S:8.2.4-alt2
5.0: 7.0-alt2
4.1: 7.0-alt2
4.0: 6.7-alt0.1
3.0: 6.4-alt2

Group :: Sistema/Bibliotecas
RPM: libgc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: gc-riscv64.patch
Download


From e108e579eeee059118d4e1c56dd307f9cdff79cd Mon Sep 17 00:00:00 2001
From: Nikita Ermakov <coffe92@gmail.com>
Date: Wed, 20 May 2020 17:57:17 +0300
Subject: [PATCH] Make __data_start a weak symbol on RISC-V instead of
 undefined
---
 include/private/gcconfig.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index b342883b..bd2e611f 100644
--- a/include/private/gcconfig.h
+++ b/include/private/gcconfig.h
@@ -2934,7 +2934,7 @@ EXTERN_C_BEGIN
 #   define ALIGNMENT (CPP_WORDSZ/8)
 #   ifdef LINUX
 #     define OS_TYPE "LINUX"
-      extern int __data_start[];
+      extern int __data_start[] __attribute__((__weak__));
 #     define DATASTART ((ptr_t)__data_start)
 #     define LINUX_STACKBOTTOM
 #     define DYNAMIC_LOADING
-- 
2.25.1
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009