mojyack d3ff3873e7 llvm-runtimes/libgcc: Generate libgcc_s.so ldscript
The shared library (libgcc.so.1.0) which we build is dynamically linked
to libunwind. That is sufficient for runtime linking (running binaries
which are linked dynamically against libgcc.so.1.0, like binary Rust
toolchains), which is able to resolve the transitive dependency on
libunwind. But that's not sufficient for linking new binaries, where
the link editor doesn't accept transitive dependencies.

To be able to build binaries with `clang -nostdlib -lgcc_s`, we need to
provide a linker script.

Signed-off-by: mojyack <mojyack@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40564
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-02-20 12:48:22 +01:00
2025-02-19 22:02:44 +00:00
2025-02-16 16:34:46 +00:00
2025-02-20 10:11:44 +00:00
2025-02-18 09:53:36 +08:00
2025-02-16 23:35:17 +01:00
2025-02-19 11:10:59 +00:00
2025-02-10 09:08:57 +00:00
2025-02-19 21:33:49 +02:00
2025-02-19 06:38:51 -05:00
2025-02-18 06:58:52 +01:00
2025-02-06 23:57:43 +01:00
2025-01-27 20:31:09 +02:00
2025-02-18 19:42:47 +01:00
2025-02-19 22:20:47 +00:00
2025-02-20 21:18:59 +10:00
2025-02-16 07:13:06 +00:00
2025-02-19 19:36:36 +00:00
2025-02-17 11:13:49 +00:00
2025-02-20 21:08:14 +10:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%