Accepting request 613986 from devel:gcc

- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
  with versioned symbols (PR ld/22756) (forwarded request 613973 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/613986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=128
This commit is contained in:
Yuchen Lin 2018-06-13 13:12:49 +00:00 committed by Git OBS Bridge
commit 6a5dae2b1c
45 changed files with 488 additions and 0 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -96,6 +96,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -169,6 +170,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -410,6 +412,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jun 4 09:49:37 UTC 2018 - schwab@suse.de
- riscv-relax-versioned-hidden.patch: RISC-V: Fix symbol address problem
with versioned symbols (PR ld/22756)
-------------------------------------------------------------------
Sat May 12 20:57:32 UTC 2018 - afaerber@suse.de
- Restore riscv64-elf cross prefix via symlinks
-------------------------------------------------------------------
Thu Mar 22 17:11:45 UTC 2018 - schwab@suse.de

View File

@ -99,6 +99,7 @@ Patch35: riscv-wrap-relax.patch
Patch36: binutils-pr22868.diff
Patch37: riscv-relax-size.patch
Patch38: riscv-relax-relocatable.patch
Patch39: riscv-relax-versioned-hidden.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch36 -p1
%patch37 -p1
%patch38 -p1
%patch39 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -413,6 +415,14 @@ for f in %buildroot/usr/$T/bin/* ; do
done
done
%endif
%if "%{TARGET}" == "riscv64"
# Instead of building duplicate binutils, add symlinks
for f in %buildroot/usr/$T/bin/* ; do
for p in riscv64-elf; do
ln -sf %{_bindir}/$T-$(basename $f) %buildroot%{_bindir}/$p-$(basename $f)
done
done
%endif
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET_OS}-nesc-as
ln -sf ../../bin/%{TARGET_OS}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET_OS}/bin/nesc-as

View File

@ -0,0 +1,26 @@
2018-06-03 Jim Wilson <jimw@sifive.com>
PR ld/22756
* elfnn-riscv.c (riscv_relax_delete_bytes): Add versioned_hidden check
to code that ignores duplicate symbols.
Index: binutils-2.30/bfd/elfnn-riscv.c
===================================================================
--- binutils-2.30.orig/bfd/elfnn-riscv.c
+++ binutils-2.30/bfd/elfnn-riscv.c
@@ -2666,9 +2666,12 @@ riscv_relax_delete_bytes (bfd *abfd, ase
call to SYMBOL as well. Since both __wrap_SYMBOL and SYMBOL reference
the same symbol (which is __wrap_SYMBOL), but still exist as two
different symbols in 'sym_hashes', we don't want to adjust
- the global symbol __wrap_SYMBOL twice.
- This check is only relevant when symbols are being wrapped. */
- if (link_info->wrap_hash != NULL)
+ the global symbol __wrap_SYMBOL twice. */
+ /* The same problem occurs with symbols that are versioned_hidden, as
+ foo becomes an alias for foo@BAR, and hence they need the same
+ treatment. */
+ if (link_info->wrap_hash != NULL
+ || sym_hash->versioned == versioned_hidden)
{
struct elf_link_hash_entry **cur_sym_hashes;