mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 00:11:07 +00:00
d4bf55a308
Issue #1051.
51 lines
1.9 KiB
Diff
51 lines
1.9 KiB
Diff
misc.patch
|
|
|
|
From: Christian Prochaska <christian.prochaska@genode-labs.com>
|
|
|
|
Changes lacking documentation
|
|
---
|
|
libgcc/Makefile.in | 2 +-
|
|
libgcc/config/t-libunwind-elf | 2 +-
|
|
libgcc/config/t-slibgcc | 2 +-
|
|
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
|
|
index f38d5b4..d64c9e0 100644
|
|
--- a/libgcc/Makefile.in
|
|
+++ b/libgcc/Makefile.in
|
|
@@ -858,7 +858,7 @@ LIBGCOV = _gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta \
|
|
_gcov_indirect_call_profiler _gcov_average_profiler _gcov_ior_profiler \
|
|
_gcov_merge_ior
|
|
|
|
-libgcov-objects = $(patsubst %,%$(objext),$(LIBGCOV))
|
|
+libgcov-objects =
|
|
|
|
$(libgcov-objects): %$(objext): $(srcdir)/libgcov.c
|
|
$(gcc_compile) -DL$* -c $(srcdir)/libgcov.c
|
|
diff --git a/libgcc/config/t-libunwind-elf b/libgcc/config/t-libunwind-elf
|
|
index 47a460b..cd6e291 100644
|
|
--- a/libgcc/config/t-libunwind-elf
|
|
+++ b/libgcc/config/t-libunwind-elf
|
|
@@ -32,7 +32,7 @@ SHLIBUNWIND_SONAME = @shlib_base_name@.so.$(SHLIBUNWIND_SOVERSION)
|
|
SHLIBUNWIND_LINK = $(CC) $(LIBGCC2_CFLAGS) -shared \
|
|
-nodefaultlibs -Wl,-h,$(SHLIBUNWIND_SONAME) \
|
|
-Wl,-z,text -Wl,-z,defs -o $(SHLIB_DIR)/$(SHLIBUNWIND_SONAME).tmp \
|
|
- @multilib_flags@ $(SHLIB_OBJS) -lc && \
|
|
+ @multilib_flags@ $(SHLIB_OBJS) && \
|
|
rm -f $(SHLIB_DIR)/$(SHLIB_SOLINK) && \
|
|
if [ -f $(SHLIB_DIR)/$(SHLIBUNWIND_SONAME) ]; then \
|
|
mv -f $(SHLIB_DIR)/$(SHLIBUNWIND_SONAME) \
|
|
diff --git a/libgcc/config/t-slibgcc b/libgcc/config/t-slibgcc
|
|
index 3727244..89c8e9b 100644
|
|
--- a/libgcc/config/t-slibgcc
|
|
+++ b/libgcc/config/t-slibgcc
|
|
@@ -27,7 +27,7 @@ SHLIB_MAP = @shlib_map_file@
|
|
SHLIB_OBJS = @shlib_objs@
|
|
SHLIB_DIR = @multilib_dir@
|
|
SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@
|
|
-SHLIB_LC = -lc
|
|
+SHLIB_LC =
|
|
SHLIB_MAKE_SOLINK = $(LN_S) $(SHLIB_SONAME) $(SHLIB_DIR)/$(SHLIB_SOLINK)
|
|
SHLIB_INSTALL_SOLINK = $(LN_S) $(SHLIB_SONAME) \
|
|
$(DESTDIR)$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
|