patch to fix link errors, see https://bugzilla.redhat.com/show_bug.cgi?id=1599521#c9 [release 2.31.1-2mamba;Wed Oct 10 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 20:48:09 +01:00
parent 81c7009c85
commit c352a19eb4
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 444aef2942..8a3858d32b 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -637,9 +637,9 @@ cat <<EOF
${SDATA_GOT+${OTHER_GOT_SECTIONS}}
${DATA_SDATA-${SDATA}}
${DATA_SDATA-${OTHER_SDATA_SECTIONS}}
- ${RELOCATING+${DATA_END_SYMBOLS-${CREATE_SHLIB+PROVIDE (}${USER_LABEL_PREFIX}_edata = .${CREATE_SHLIB+)}; PROVIDE (${USER_LABEL_PREFIX}edata = .);}}
+ ${RELOCATING+${DATA_END_SYMBOLS-${USER_LABEL_PREFIX}_edata = .; PROVIDE (${USER_LABEL_PREFIX}edata = .);}}
${RELOCATING+. = .;}
- ${RELOCATING+${CREATE_SHLIB+PROVIDE (}${USER_LABEL_PREFIX}__bss_start = .${CREATE_SHLIB+)};}
+ ${RELOCATING+${USER_LABEL_PREFIX}__bss_start = .;}
${RELOCATING+${OTHER_BSS_SYMBOLS}}
${DATA_SDATA-${SBSS}}
${BSS_PLT+${PLT}}
@@ -672,7 +672,7 @@ cat <<EOF
${LARGE_BSS_AFTER_BSS-${LARGE_BSS}}
${RELOCATING+. = ALIGN(${ALIGNMENT});}
${RELOCATING+${OTHER_END_SYMBOLS}}
- ${RELOCATING+${END_SYMBOLS-${CREATE_SHLIB+PROVIDE (}${USER_LABEL_PREFIX}_end = .${CREATE_SHLIB+)}; PROVIDE (${USER_LABEL_PREFIX}end = .);}}
+ ${RELOCATING+${END_SYMBOLS-${USER_LABEL_PREFIX}_end = .; PROVIDE (${USER_LABEL_PREFIX}end = .);}}
${RELOCATING+${DATA_SEGMENT_END}}
${TINY_DATA_SECTION}
${TINY_BSS_SECTION}

View File

@ -6,7 +6,7 @@
Name: binutils Name: binutils
Version: 2.31.1 Version: 2.31.1
Release: 1mamba Release: 2mamba
Summary: GNU Binary Utility Development Utilities Summary: GNU Binary Utility Development Utilities
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -26,6 +26,7 @@ Patch7: %{name}-2.22-gold-fix_pointer_reference.patch
Patch8: binutils-2.23.2-texinfo-5.1.patch Patch8: binutils-2.23.2-texinfo-5.1.patch
Patch9: binutils-2.26-upstream-syslinux.patch Patch9: binutils-2.26-upstream-syslinux.patch
Patch10: binutils-2.26-gcc-6.1.0.patch Patch10: binutils-2.26-gcc-6.1.0.patch
Patch11: binutils-2.31.1-revert-PR-23161.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: bash BuildRequires: bash
@ -100,6 +101,7 @@ Use this package if you need cross platform builds for %{_target_platform} targe
#%patch8 -p1 #%patch8 -p1
#%patch9 -p1 #%patch9 -p1
#%patch10 -p1 #%patch10 -p1
%patch11 -p1
%build %build
install -d binutils-build install -d binutils-build
@ -394,6 +396,9 @@ exit 0
%endif %endif
%changelog %changelog
* Wed Oct 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.31.1-2mamba
- patch to fix link errors, see https://bugzilla.redhat.com/show_bug.cgi?id=1599521#c9
* Sat Sep 15 2018 Automatic Build System <autodist@mambasoft.it> 2.31.1-1mamba * Sat Sep 15 2018 Automatic Build System <autodist@mambasoft.it> 2.31.1-1mamba
- automatic version update by autodist - automatic version update by autodist