From 985d648f516dd49c6a448ad18e710c038c9219b882be05c1ab074605797f1149 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 14 Jan 2016 09:37:34 +0000 Subject: [PATCH] Accepting request 353332 from home:Andreas_Schwab:Factory - gold-relocate-tls.patch: Fix internal error when applying TLSDESC relocations with no TLS segment OBS-URL: https://build.opensuse.org/request/show/353332 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=198 --- binutils.changes | 6 ++ binutils.spec | 4 +- cross-aarch64-binutils.changes | 6 ++ cross-aarch64-binutils.spec | 4 +- cross-arm-binutils.changes | 6 ++ cross-arm-binutils.spec | 4 +- cross-avr-binutils.changes | 6 ++ cross-avr-binutils.spec | 4 +- cross-epiphany-binutils.changes | 6 ++ cross-epiphany-binutils.spec | 4 +- cross-hppa-binutils.changes | 6 ++ cross-hppa-binutils.spec | 4 +- cross-hppa64-binutils.changes | 6 ++ cross-hppa64-binutils.spec | 4 +- cross-i386-binutils.changes | 6 ++ cross-i386-binutils.spec | 4 +- cross-ia64-binutils.changes | 6 ++ cross-ia64-binutils.spec | 4 +- cross-m68k-binutils.changes | 6 ++ cross-m68k-binutils.spec | 4 +- cross-mips-binutils.changes | 6 ++ cross-mips-binutils.spec | 4 +- cross-ppc-binutils.changes | 6 ++ cross-ppc-binutils.spec | 4 +- cross-ppc64-binutils.changes | 6 ++ cross-ppc64-binutils.spec | 4 +- cross-ppc64le-binutils.changes | 6 ++ cross-ppc64le-binutils.spec | 4 +- cross-rx-binutils.changes | 6 ++ cross-rx-binutils.spec | 4 +- cross-s390-binutils.changes | 6 ++ cross-s390-binutils.spec | 4 +- cross-s390x-binutils.changes | 6 ++ cross-s390x-binutils.spec | 4 +- cross-sparc-binutils.changes | 6 ++ cross-sparc-binutils.spec | 4 +- cross-sparc64-binutils.changes | 6 ++ cross-sparc64-binutils.spec | 4 +- cross-spu-binutils.changes | 6 ++ cross-spu-binutils.spec | 4 +- cross-x86_64-binutils.changes | 6 ++ cross-x86_64-binutils.spec | 4 +- gold-relocate-tls.patch | 165 ++++++++++++++++++++++++++++++++ 43 files changed, 354 insertions(+), 21 deletions(-) create mode 100644 gold-relocate-tls.patch diff --git a/binutils.changes b/binutils.changes index 65aff33..6a12f9b 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/binutils.spec b/binutils.spec index d0ee1dc..df8fa8a 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,7 +1,7 @@ # # spec file for package binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -106,6 +106,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -190,6 +191,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index fff42b6..12534b8 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-aarch64-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 369c610..24126b3 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index b2d91ee..ff4fe23 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-avr-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index def54c7..2e8bb45 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-epiphany-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 8843ce2..be21687 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 0bce7d1..7b27e8b 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa64-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 679fd1f..e3e961a 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-i386-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 94193a4..c970734 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ia64-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 7505aa6..f707c40 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-m68k-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 2f86ce9..2f8712d 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-mips-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 6a109ec..916a803 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 6acb3a1..76f501d 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 9bd4534..2fb8bdc 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64le-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index 3a16c0e..9845aa7 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-rx-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 0d669bc..0074a71 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 20cf002..9e0e5d6 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390x-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 48ad31c..81acdcc 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 26fbba0..830e203 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc64-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 7b214fb..5db33cc 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-spu-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 65aff33..6a12f9b 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 13 08:31:17 UTC 2016 - schwab@suse.de + +- gold-relocate-tls.patch: Fix internal error when applying TLSDESC + relocations with no TLS segment + ------------------------------------------------------------------- Wed Oct 14 09:19:36 UTC 2015 - schwab@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index e42929e..7d363e9 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-x86_64-binutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -109,6 +109,7 @@ Patch31: 0005-S-390-z13-use-GNU-attribute-to-indicate-vector-ABI.patch Patch32: gold-arm64-abi-pagesize.patch Patch33: s390-troo-insn-type.patch Patch34: aarch64-common-pagesize.patch +Patch35: gold-relocate-tls.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/gold-relocate-tls.patch b/gold-relocate-tls.patch new file mode 100644 index 0000000..90663b5 --- /dev/null +++ b/gold-relocate-tls.patch @@ -0,0 +1,165 @@ +From d21f123b0ead1806416cf0dafae12bec4cca8920 Mon Sep 17 00:00:00 2001 +From: Cary Coutant +Date: Mon, 11 Jan 2016 23:57:44 -0800 +Subject: [PATCH] Fix internal error when applying TLSDESC relocations with no + TLS segment. + +gold/ + PR gold/19353 + * aarch64.cc (Target_aarch64::relocate_tls): Don't insist that + we have a TLS segment for GD-to-IE optimization. + * i386.cc (Target_i386::tls_gd_to_ie): Remove tls_segment parameter. + Adjust all calls. + (Target_i386::tls_desc_gd_to_ie): Likewise. + (Target_i386::relocate_tls): Don't insist that we have a TLS segment + for TLSDESC GD-to-IE optimizations. + * x86_64.cc (Target_x86_64::tls_gd_to_ie): Remove tls_segment parameter. + Adjust all calls. + (Target_x86_64::tls_desc_gd_to_ie): Likewise. + (Target_x86_64::relocate_tls): Don't insist that we have a TLS segment + for TLSDESC GD-to-IE optimizations. +--- + gold/ChangeLog | 16 ++++++++++++++++ + gold/aarch64.cc | 6 ------ + gold/i386.cc | 14 ++------------ + gold/x86_64.cc | 14 ++------------ + 4 files changed, 20 insertions(+), 30 deletions(-) + +Index: binutils-2.25.0/gold/aarch64.cc +=================================================================== +--- binutils-2.25.0.orig/gold/aarch64.cc ++++ binutils-2.25.0/gold/aarch64.cc +@@ -3689,12 +3689,6 @@ Target_aarch64::Reloca + } + if (tlsopt == tls::TLSOPT_TO_IE) + { +- if (tls_segment == NULL) +- { +- gold_assert(parameters->errors()->error_count() > 0 +- || issue_undefined_symbol_error(gsym)); +- return aarch64_reloc_funcs::STATUS_BAD_RELOC; +- } + return tls_desc_gd_to_ie(relinfo, target, rela, r_type, + view, psymval, got_entry_address, + address); +Index: binutils-2.25.0/gold/i386.cc +=================================================================== +--- binutils-2.25.0.orig/gold/i386.cc ++++ binutils-2.25.0/gold/i386.cc +@@ -654,7 +654,6 @@ class Target_i386 : public Sized_target< + // Do a TLS General-Dynamic to Initial-Exec transition. + inline void + tls_gd_to_ie(const Relocate_info<32, false>*, size_t relnum, +- Output_segment* tls_segment, + const elfcpp::Rel<32, false>&, unsigned int r_type, + elfcpp::Elf_types<32>::Elf_Addr value, + unsigned char* view, +@@ -673,7 +672,6 @@ class Target_i386 : public Sized_target< + // transition. + inline void + tls_desc_gd_to_ie(const Relocate_info<32, false>*, size_t relnum, +- Output_segment* tls_segment, + const elfcpp::Rel<32, false>&, unsigned int r_type, + elfcpp::Elf_types<32>::Elf_Addr value, + unsigned char* view, +@@ -2944,7 +2942,7 @@ Target_i386::Relocate::relocate_tls(cons + } + if (optimized_type == tls::TLSOPT_TO_IE) + { +- this->tls_gd_to_ie(relinfo, relnum, tls_segment, rel, r_type, ++ this->tls_gd_to_ie(relinfo, relnum, rel, r_type, + got_offset, view, view_size); + break; + } +@@ -3006,13 +3004,7 @@ Target_i386::Relocate::relocate_tls(cons + } + if (optimized_type == tls::TLSOPT_TO_IE) + { +- if (tls_segment == NULL) +- { +- gold_assert(parameters->errors()->error_count() > 0 +- || issue_undefined_symbol_error(gsym)); +- return; +- } +- this->tls_desc_gd_to_ie(relinfo, relnum, tls_segment, rel, r_type, ++ this->tls_desc_gd_to_ie(relinfo, relnum, rel, r_type, + got_offset, view, view_size); + break; + } +@@ -3244,7 +3236,6 @@ Target_i386::Relocate::tls_gd_to_le(cons + inline void + Target_i386::Relocate::tls_gd_to_ie(const Relocate_info<32, false>* relinfo, + size_t relnum, +- Output_segment*, + const elfcpp::Rel<32, false>& rel, + unsigned int, + elfcpp::Elf_types<32>::Elf_Addr value, +@@ -3350,7 +3341,6 @@ inline void + Target_i386::Relocate::tls_desc_gd_to_ie( + const Relocate_info<32, false>* relinfo, + size_t relnum, +- Output_segment*, + const elfcpp::Rel<32, false>& rel, + unsigned int r_type, + elfcpp::Elf_types<32>::Elf_Addr value, +Index: binutils-2.25.0/gold/x86_64.cc +=================================================================== +--- binutils-2.25.0.orig/gold/x86_64.cc ++++ binutils-2.25.0/gold/x86_64.cc +@@ -798,7 +798,6 @@ class Target_x86_64 : public Sized_targe + // Do a TLS General-Dynamic to Initial-Exec transition. + inline void + tls_gd_to_ie(const Relocate_info*, size_t relnum, +- Output_segment* tls_segment, + const elfcpp::Rela&, unsigned int r_type, + typename elfcpp::Elf_types::Elf_Addr value, + unsigned char* view, +@@ -817,7 +816,6 @@ class Target_x86_64 : public Sized_targe + // Do a TLSDESC-style General-Dynamic to Initial-Exec transition. + inline void + tls_desc_gd_to_ie(const Relocate_info*, size_t relnum, +- Output_segment* tls_segment, + const elfcpp::Rela&, unsigned int r_type, + typename elfcpp::Elf_types::Elf_Addr value, + unsigned char* view, +@@ -3613,7 +3611,7 @@ Target_x86_64::Relocate::relocate_ + if (optimized_type == tls::TLSOPT_TO_IE) + { + value = target->got_plt_section()->address() + got_offset; +- this->tls_gd_to_ie(relinfo, relnum, tls_segment, rela, r_type, ++ this->tls_gd_to_ie(relinfo, relnum, rela, r_type, + value, view, address, view_size); + break; + } +@@ -3680,14 +3678,8 @@ Target_x86_64::Relocate::relocate_ + } + if (optimized_type == tls::TLSOPT_TO_IE) + { +- if (tls_segment == NULL) +- { +- gold_assert(parameters->errors()->error_count() > 0 +- || issue_undefined_symbol_error(gsym)); +- return; +- } + value = target->got_plt_section()->address() + got_offset; +- this->tls_desc_gd_to_ie(relinfo, relnum, tls_segment, ++ this->tls_desc_gd_to_ie(relinfo, relnum, + rela, r_type, value, view, address, + view_size); + break; +@@ -3843,7 +3835,6 @@ inline void + Target_x86_64::Relocate::tls_gd_to_ie( + const Relocate_info* relinfo, + size_t relnum, +- Output_segment*, + const elfcpp::Rela& rela, + unsigned int, + typename elfcpp::Elf_types::Elf_Addr value, +@@ -3955,7 +3946,6 @@ inline void + Target_x86_64::Relocate::tls_desc_gd_to_ie( + const Relocate_info* relinfo, + size_t relnum, +- Output_segment*, + const elfcpp::Rela& rela, + unsigned int r_type, + typename elfcpp::Elf_types::Elf_Addr value,