initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
13
debian/patches/t-libunwind-elf-Wl-z-defs.diff
vendored
Normal file
13
debian/patches/t-libunwind-elf-Wl-z-defs.diff
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# DP: strip -z,defs from linker options for internal libunwind.
|
||||
|
||||
--- a/src/libgcc/config/t-libunwind-elf
|
||||
+++ b/src/libgcc/config/t-libunwind-elf
|
||||
@@ -31,7 +31,7 @@ SHLIBUNWIND_SONAME = @shlib_base_name@.s
|
||||
|
||||
SHLIBUNWIND_LINK = $(CC) $(LIBGCC2_CFLAGS) -shared \
|
||||
-nodefaultlibs -Wl,-h,$(SHLIBUNWIND_SONAME) \
|
||||
- -Wl,-z,text -Wl,-z,defs -o $(SHLIB_DIR)/$(SHLIBUNWIND_SONAME).tmp \
|
||||
+ -Wl,-z,text -o $(SHLIB_DIR)/$(SHLIBUNWIND_SONAME).tmp \
|
||||
@multilib_flags@ $(SHLIB_OBJS) -lc && \
|
||||
rm -f $(SHLIB_DIR)/$(SHLIB_SOLINK) && \
|
||||
if [ -f $(SHLIB_DIR)/$(SHLIBUNWIND_SONAME) ]; then \
|
Reference in New Issue
Block a user