Accepting request 613973 from home:Andreas_Schwab:Factory

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

OBS-URL: https://build.opensuse.org/request/show/613973
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=277
This commit is contained in:
Michael Matz 2018-06-04 13:25:20 +00:00 committed by Git OBS Bridge
parent e2096be0af
commit 2ba3d3648a
45 changed files with 202 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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

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

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;