mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 02:02:58 +01:00
Build tcc-musl.
This commit is contained in:
parent
9ddc0bcee6
commit
e0fba919a2
6 changed files with 82 additions and 0 deletions
15
sysa/tcc-0.9.27/patches/ignore-duplicate-symbols.patch
Normal file
15
sysa/tcc-0.9.27/patches/ignore-duplicate-symbols.patch
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
Ignore duplicate symbols. Due to poor support for weak symbols in tcc-ar
|
||||
we had to patch musl to replace weak symbols with strong symbols
|
||||
--- tccelf.c 2021-02-02 17:41:08.662247892 +0000
|
||||
+++ tccelf.c 2021-02-02 23:21:49.652080201 +0000
|
||||
@@ -552,8 +552,9 @@
|
||||
#if 0
|
||||
printf("new_bind=%x new_shndx=%x new_vis=%x old_bind=%x old_shndx=%x old_vis=%x\n",
|
||||
sym_bind, shndx, new_vis, esym_bind, esym->st_shndx, esym_vis);
|
||||
-#endif
|
||||
tcc_error_noabort("'%s' defined twice", name);
|
||||
+#endif
|
||||
+ goto do_patch;
|
||||
}
|
||||
} else {
|
||||
do_patch:
|
||||
Loading…
Add table
Add a link
Reference in a new issue