diff --git a/0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch b/0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch new file mode 100644 index 0000000..feacba7 --- /dev/null +++ b/0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch @@ -0,0 +1,217 @@ +From 9918bff7cf2a566aaa2036d2242a61c140652dc7 Mon Sep 17 00:00:00 2001 +From: Alan Modra +Date: Tue, 2 Feb 2021 15:05:14 +1030 +Subject: [PATCH] PR27311, ld.bfd (symbol from plugin): undefined reference + +A default versioned symbol definition in a shared library is +overridden by an unversioned definition in a regular object file, and +thus should not be reason to make an as-needed library needed. + +bfd/ + PR 27311 + * elflink.c (_bfd_elf_add_default_symbol): Add override parameter. + Use when handling default versioned symbol. Rename existing + override variable to nondef_override and use for non-default + versioned symbol. + (elf_link_add_object_symbols): Adjust call to suit. Don't + pull in as-needed libraries when override is set. +ld/ + * testsuite/ld-plugin/pr27311.d, + * testsuite/ld-plugin/pr27311.ver, + * testsuite/ld-plugin/pr27311a.c, + * testsuite/ld-plugin/pr27311b.c, + * testsuite/ld-plugin/pr27311c.c: New testcase. + * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and + PR12982 entries. +--- + bfd/ChangeLog | 10 ++++++++++ + bfd/elflink.c | 17 ++++++++++------- + ld/ChangeLog | 10 ++++++++++ + ld/testsuite/ld-plugin/lto.exp | 22 ++++++++++++++++------ + ld/testsuite/ld-plugin/pr27311.d | 4 ++++ + ld/testsuite/ld-plugin/pr27311.ver | 3 +++ + ld/testsuite/ld-plugin/pr27311a.c | 1 + + ld/testsuite/ld-plugin/pr27311b.c | 1 + + ld/testsuite/ld-plugin/pr27311c.c | 5 +++++ + 9 files changed, 60 insertions(+), 13 deletions(-) + create mode 100644 ld/testsuite/ld-plugin/pr27311.d + create mode 100644 ld/testsuite/ld-plugin/pr27311.ver + create mode 100644 ld/testsuite/ld-plugin/pr27311a.c + create mode 100644 ld/testsuite/ld-plugin/pr27311b.c + create mode 100644 ld/testsuite/ld-plugin/pr27311c.c + +diff --git a/bfd/elflink.c b/bfd/elflink.c +index 3a3ca3b04f7..7ac38cac691 100644 +--- a/bfd/elflink.c ++++ b/bfd/elflink.c +@@ -1850,7 +1850,8 @@ _bfd_elf_add_default_symbol (bfd *abfd, + asection *sec, + bfd_vma value, + bfd **poldbfd, +- bfd_boolean *dynsym) ++ bfd_boolean *dynsym, ++ bfd **override) + { + bfd_boolean type_change_ok; + bfd_boolean size_change_ok; +@@ -1861,7 +1862,7 @@ _bfd_elf_add_default_symbol (bfd *abfd, + const struct elf_backend_data *bed; + bfd_boolean collect; + bfd_boolean dynamic; +- bfd *override; ++ bfd *nondef_override; + char *p; + size_t len, shortlen; + asection *tmp_sec; +@@ -1921,7 +1922,7 @@ _bfd_elf_add_default_symbol (bfd *abfd, + matched = TRUE; + tmp_sec = sec; + if (!_bfd_elf_merge_symbol (abfd, info, shortname, sym, &tmp_sec, &value, +- &hi, poldbfd, NULL, NULL, &skip, &override, ++ &hi, poldbfd, NULL, NULL, &skip, override, + &type_change_ok, &size_change_ok, &matched)) + return FALSE; + +@@ -1953,7 +1954,7 @@ _bfd_elf_add_default_symbol (bfd *abfd, + goto nondefault; + } + +- if (! override) ++ if (!*override) + { + /* Add the default symbol if not performing a relocatable link. */ + if (! bfd_link_relocatable (info)) +@@ -2080,7 +2081,7 @@ _bfd_elf_add_default_symbol (bfd *abfd, + size_change_ok = FALSE; + tmp_sec = sec; + if (!_bfd_elf_merge_symbol (abfd, info, shortname, sym, &tmp_sec, &value, +- &hi, poldbfd, NULL, NULL, &skip, &override, ++ &hi, poldbfd, NULL, NULL, &skip, &nondef_override, + &type_change_ok, &size_change_ok, &matched)) + return FALSE; + +@@ -2104,7 +2105,7 @@ _bfd_elf_add_default_symbol (bfd *abfd, + else + return TRUE; + } +- else if (override) ++ else if (nondef_override) + { + /* Here SHORTNAME is a versioned name, so we don't expect to see + the type of override we do in the case above unless it is +@@ -5089,7 +5090,8 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info) + && !(hi != h + && hi->versioned == versioned_hidden)) + if (!_bfd_elf_add_default_symbol (abfd, info, h, name, isym, +- sec, value, &old_bfd, &dynsym)) ++ sec, value, &old_bfd, &dynsym, ++ &override)) + goto error_free_vers; + + /* Check the alignment when a common symbol is involved. This +@@ -5272,6 +5274,7 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info) + } + + if (!add_needed ++ && !override + && matched + && definition + && ((dynsym +diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp +index dbda6c4465d..324adcd00ce 100644 +--- a/ld/testsuite/ld-plugin/lto.exp ++++ b/ld/testsuite/ld-plugin/lto.exp +@@ -415,6 +415,18 @@ set lto_link_elf_tests [list \ + [list {pr26806.so} \ + {-shared} {-fpic -O2 -flto} \ + {pr26806.c} {{nm {-D} pr26806.d}} {pr26806.so}] \ ++ [list {pr27311a.so} \ ++ {-shared -Wl,--version-script=pr27311.ver} {-fPIC} \ ++ {pr27311a.c} {} {pr27311a.so}] \ ++ [list {pr27311b.so} \ ++ {-shared -Wl,--no-as-needed tmpdir/pr27311a.so} {-fPIC} \ ++ {pr27311b.c} {} {pr27311b.so}] \ ++ [list {pr27311c.o} \ ++ {} {-flto} \ ++ {pr27311c.c} {} {} {c}] \ ++ [list {pr27311} \ ++ {tmpdir/pr27311c.o -Wl,--no-as-needed,--rpath-link=. tmpdir/pr27311b.so} {} \ ++ {dummy.c} {{readelf {--dyn-syms --wide} pr27311.d}} {pr27311}] \ + ] + + # PR 14918 checks that libgcc is not spuriously included in a shared link of +@@ -423,11 +435,10 @@ set lto_link_elf_tests [list \ + # __aeabi_unwind_cpp_pr0@@GCC_3.5 which is provided by libgcc_s.so.1, so the + # test fails. Hence this code to skip the test. + if { ! [istarget "arm*-*-*"] } { +- lappend lto_link_elf_tests [list \ ++ lappend lto_link_elf_tests \ + [list "PR ld/14918" \ + "-flto" "-flto" \ +- {pr14918.c} {{"readelf" {-d --wide} "pr14918.d"}} "pr14918.exe" "c"] \ +- ] ++ {pr14918.c} {{"readelf" {-d --wide} "pr14918.d"}} "pr14918.exe" "c"] + } + + # PR 12982 checks that an executable stack is not created by default +@@ -435,11 +446,10 @@ if { ! [istarget "arm*-*-*"] } { + # executable stack for syscall restarts and signal returns, so we + # skip this test for that target. + if { ! [istarget "hppa*-*-*"] } { +- lappend lto_link_elf_tests [list \ ++ lappend lto_link_elf_tests \ + [list "PR ld/12982" \ + "-O2 -flto -fuse-linker-plugin" "-O2 -flto" \ +- {pr12982.c} {{"readelf" {-l --wide} "pr12982.d"}} "pr12982.exe"] \ +- ] ++ {pr12982.c} {{"readelf" {-l --wide} "pr12982.d"}} "pr12982.exe"] + } + + # Check final symbols in executables. +diff --git a/ld/testsuite/ld-plugin/pr27311.d b/ld/testsuite/ld-plugin/pr27311.d +new file mode 100644 +index 00000000000..debf41cdc7f +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr27311.d +@@ -0,0 +1,4 @@ ++#failif ++#... ++.* _*inlib1.* ++#... +diff --git a/ld/testsuite/ld-plugin/pr27311.ver b/ld/testsuite/ld-plugin/pr27311.ver +new file mode 100644 +index 00000000000..324daf0c5b6 +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr27311.ver +@@ -0,0 +1,3 @@ ++LIBFOO { ++ *; ++}; +diff --git a/ld/testsuite/ld-plugin/pr27311a.c b/ld/testsuite/ld-plugin/pr27311a.c +new file mode 100644 +index 00000000000..314984781db +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr27311a.c +@@ -0,0 +1 @@ ++void inlib1(void) {} +diff --git a/ld/testsuite/ld-plugin/pr27311b.c b/ld/testsuite/ld-plugin/pr27311b.c +new file mode 100644 +index 00000000000..ed9c8a7048e +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr27311b.c +@@ -0,0 +1 @@ ++void inlib2(void) {} +diff --git a/ld/testsuite/ld-plugin/pr27311c.c b/ld/testsuite/ld-plugin/pr27311c.c +new file mode 100644 +index 00000000000..6712499130e +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr27311c.c +@@ -0,0 +1,5 @@ ++void inlib1(void) {} ++int main() ++{ ++ return 0; ++} +-- +2.30.0 + diff --git a/binutils.changes b/binutils.changes index 17e44b9..1cfb805 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/binutils.spec b/binutils.spec index b6e5018..3fceae9 100644 --- a/binutils.spec +++ b/binutils.spec @@ -101,6 +101,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -193,6 +194,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 08604ea..a098c99 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 60c24ac..a2fd903 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 4a421b4..869a13d 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-epiphany-binutils.changes +++ b/cross-epiphany-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec index e7cbe92..690b118 100644 --- a/cross-epiphany-binutils.spec +++ b/cross-epiphany-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 2fdca61..f755c04 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 54d6837..7a4e928 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 932f606..ac14c56 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 273f28b..1340bf5 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 3a35570..87e6ea1 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index ce9468c..8b7fec0 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 315ab66..cb3e9ad 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 05b1860..9592cca 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 02fc950..a3fb68d 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-riscv64-binutils.changes b/cross-riscv64-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-riscv64-binutils.changes +++ b/cross-riscv64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-riscv64-binutils.spec b/cross-riscv64-binutils.spec index bd707f2..979fd12 100644 --- a/cross-riscv64-binutils.spec +++ b/cross-riscv64-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-rx-binutils.changes b/cross-rx-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-rx-binutils.changes +++ b/cross-rx-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-rx-binutils.spec b/cross-rx-binutils.spec index 0ed84b1..8782ea7 100644 --- a/cross-rx-binutils.spec +++ b/cross-rx-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index ff56f0a..bfc9b21 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 379492e..ae0b976 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 3cfa9a6..eb36dd7 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 4ea7376..fb9155c 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 27639cf..fbd39b5 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 8230a26..481e7a9 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h diff --git a/cross-xtensa-binutils.changes b/cross-xtensa-binutils.changes index 17e44b9..1cfb805 100644 --- a/cross-xtensa-binutils.changes +++ b/cross-xtensa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 2 13:07:22 UTC 2021 - Martin Liška + +- Add temporary upstream fix for PR27311 + 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch. + ------------------------------------------------------------------- Sun Jan 24 16:56:39 UTC 2021 - Martin Liška diff --git a/cross-xtensa-binutils.spec b/cross-xtensa-binutils.spec index c353c5f..0fec6de 100644 --- a/cross-xtensa-binutils.spec +++ b/cross-xtensa-binutils.spec @@ -104,6 +104,7 @@ Patch38: binutils-fix-invalid-op-errata.diff Patch39: binutils-revert-nm-symversion.diff Patch40: binutils-fix-abierrormsg.diff Patch41: binutils-fix-relax.diff +Patch42: 0001-PR27311-ld.bfd-symbol-from-plugin-undefined-referenc.patch Patch100: add-ulp-section.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch @@ -196,6 +197,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch39 -p1 %patch40 -p1 %patch41 -p1 +%patch42 -p1 %patch100 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h