Projects
Mega:23.09
binutils
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm:binutils.spec
Changed
@@ -2,7 +2,7 @@ Summary: A GNU collection of binary utilities Name: binutils%{?_with_debug:-debug} Version: 2.40 -Release: 3 +Release: 6 License: GPL-3.0-or-later URL: https://sourceware.org/binutils @@ -71,6 +71,8 @@ # not just x86/x86_64. %define enable_separate_code 0 +%define customized_test 1 + #----End of Configure Options------------------------------------------------ # Note - in the future the gold linker may become deprecated. @@ -87,8 +89,8 @@ %bcond_with debug # Default: Always build documentation. %bcond_without docs -# Default: Always run the testsuite. FIXME: Temporarily disable it. -%bcond_with testsuite +# Default: Always run the testsuite. +%bcond_without testsuite # Default: Not support debuginfod. %bcond_with debuginfod # Default: Not build binutils-gprofng package. @@ -224,7 +226,7 @@ # Purpose: Fix linker testsuite failures. # Lifetime: Fixed in 2.39 (maybe) -Patch11: binutils-fix-testsuite-failures.patch +# Patch11: binutils-fix-testsuite-failures.patch # Purpose: Stop gold from aborting when input sections with the same name # have different flags. @@ -282,6 +284,7 @@ #### Other patches Patch23: 0001-X86-Change-fpic-to-fPIC-in-PICFLAG.patch +Patch24: 0002-PPC-gas-supported-c2000.patch #---------------------------------------------------------------------------- @@ -794,6 +797,7 @@ return %endif +%if ! %{customized_test} pushd build-$target # FIXME: I have not been able to find a way to capture a "failed" return @@ -865,6 +869,122 @@ fi popd +%else + pushd build-$target + + errorcode=0 +check_failure() +{ + local file="$1" + local knownfail="$2" + + if -f $file ; then + echo ==================== PRINT $file ==================== + cat $file + + while read line + do + if "${knownfail@}" =~ "@${line}@" ; then + echo Known Failure: $line + else + echo Unknown Failure: $line + errorcode=1 + fi + done < <(grep -e "^XPASS:\|^FAIL:" $file) + fi +} + + echo ================ $target == TEST RUN =============================== + + if test x$native == x1 ; then + make -k check-gas check-binutils check-ld < /dev/null || : +%if %{with gold} + make -k check-gold < /dev/null || : +%endif + + local gas_failure=("@@") + local binutils_failure=("@@") + local ld_failure=("@@") + local gold_failure=("@@") + +%ifarch aarch64 + binutils_failure=( + "@FAIL: objdump -S@" + "@FAIL: objdump --source-comment@" + ) + ld_failure=( + "@XPASS: Run pr19719 fun undefined@" + ) +%endif +%ifarch x86_64 + binutils_failure=( + "@FAIL: objdump -S@" + "@FAIL: objdump --source-comment@" + ) + ld_failure=( + "@FAIL: Build protected-func-2 without PIE@" + "@FAIL: Build protected-func-2a without PIE@" + "@FAIL: Build pr22001-1b@" + "@FAIL: Undefined weak symbol (-fno-PIE -no-pie)@" + ) + gold_failure=( + "@FAIL: weak_undef_test@" + "@FAIL: initpri3a@" + "@FAIL: script_test_1@" + "@FAIL: script_test_2@" + "@FAIL: justsyms@" + "@FAIL: justsyms_exec@" + "@FAIL: binary_test@" + "@FAIL: script_test_3@" + "@FAIL: tls_phdrs_script_test@" + "@FAIL: script_test_12i@" + "@FAIL: ifuncmain6pie@" + "@FAIL: incremental_test_2@" + "@FAIL: incremental_test_3@" + "@FAIL: incremental_test_4@" + "@FAIL: incremental_test_5@" + "@FAIL: incremental_test_6@" + "@FAIL: incremental_copy_test@" + "@FAIL: incremental_common_test_1@" + "@FAIL: incremental_comdat_test_1@" + ) +%endif + + if -f gas/testsuite/gas.sum ; then + check_failure "gas/testsuite/gas.sum" "${gas_failure*}" + cat gas/testsuite/gas.log || : + fi + + if -f binutils/binutils.sum ; then + check_failure "binutils/binutils.sum" "${binutils_failure*}" + cat binutils/binutils.log || : + fi + + if -f ld/ld.sum ; then + check_failure "ld/ld.sum" "${ld_failure*}" + cat ld/ld.log || : + fi + +%if %{with gold} + if -f gold/test-suite.log ; then + check_failure "gold/test-suite.log" "${gold_failure*}" + fi + + if -f gold/testsuite/test-suite.log ; then + check_failure "gold/testsuite/test-suite.log" "${gold_failure*}" + cat gold/testsuite/*.log || : + fi +%endif + + if test x$errorcode == x1 ; then + echo == WARNING == WARNING == WARNING == WARNING == WARNING == + echo == Unexpected Test Case Failures == + echo == WARNING == WARNING == WARNING == WARNING == WARNING == + fi + fi + + popd +%endif } #---------------------------------------------------------------------------- @@ -1025,6 +1145,24 @@ # Generate libbfd.so and libopcodes.so +%ifarch %{power64} + tee %{buildroot}%{_libdir}/libbfd.so <<EOF +/* GNU ld script */ + +OUTPUT_FORMAT(elf64-powerpcle) + +INPUT ( %{_libdir}/libbfd.a -liberty -lz -ldl ) +EOF + + tee %{buildroot}%{_libdir}/libopcodes.so <<EOF +/* GNU ld script */ + +OUTPUT_FORMAT(elf64-powerpcle) + +INPUT ( %{_libdir}/libopcodes.a -lbfd ) +EOF +%endif + %ifarch x86_64
View file
_service:tar_scm:0002-PPC-gas-supported-c2000.patch
Added
@@ -0,0 +1,918 @@ +From d1fd0f2d0da3171a8678c7e31bb1863a53dfe1c2 Mon Sep 17 00:00:00 2001 +From: chenyuanfeng <yuanfeng.chen@shingroup.cn> +Date: Wed, 3 Jan 2024 14:26:27 +0800 +Subject: PATCH PPC-gas-supported-c2000 + +--- + binutils/ChangeLog-2024 | 29 +++++ + binutils/doc/binutils.info | 2 +- + binutils/doc/binutils.texi | 2 +- + gas/config/tc-ppc.c | 2 + + gas/doc/as.info | 5 +- + gas/doc/as.texi | 2 +- + gas/doc/c-ppc.texi | 3 + + gas/po/gas.pot | 231 +++++++++++++++++++------------------ + include/opcode/ppc.h | 7 ++ + opcodes/ppc-dis.c | 21 ++-- + opcodes/ppc-opc.c | 2 +- + 11 files changed, 180 insertions(+), 126 deletions(-) + create mode 100644 binutils/ChangeLog-2024 + mode change 100644 => 100755 gas/po/gas.pot + +diff --git a/binutils/ChangeLog-2024 b/binutils/ChangeLog-2024 +new file mode 100644 +index 00000000..caf4b43d +--- /dev/null ++++ b/binutils/ChangeLog-2024 +@@ -0,0 +1,29 @@ ++2024-01-03 YuanFeng Chen <yuanfeng.chen@shingroup.cn> ++ ++ * config/tc-ppc.c (md_show_usage): Add -mc2000 options. ++ * ppc.h : (PPC_OPCODE_HTM): Define. ++ (PPC_OPCODE_C2000): Likewise. ++ * ppc-dis.c (PPCHTM): Define as PPC_OPCODE_HTM. ++ (ppc_opts): Add "c2000" entry. ++ (ppc_opts): "power8","power9","power10", "libresoc", "future" entries add PPC_OPCODE_HTM flag. ++ * ppc-opc.c : PPCHTM defined as PPC_OPCODE_HTM instead of PPC_OPCODE_POWER8. ++ * doc/binutils.texi (PowerPC -M option): Mention c2000. ++ * doc/as.texi (Target PowerPC optins): Mention c2000. ++ * doc/c-ppc.texi (PowerPC-Opts): Document "-mc2000". ++ * po/gas.pot: Regenerate. ++ ++ ++For older changes see ChangeLog-2020 ++ ++Copyright (C) 2024 Free Software Foundation, Inc. ++ ++Copying and distribution of this file, with or without modification, ++are permitted in any medium without royalty provided the copyright ++notice and this notice are preserved. ++ ++Local Variables: ++mode: change-log ++left-margin: 8 ++fill-column: 74 ++version-control: never ++End: +\ No newline at end of file +diff --git a/binutils/doc/binutils.info b/binutils/doc/binutils.info +index 56b7005c..9b13580f 100644 +--- a/binutils/doc/binutils.info ++++ b/binutils/doc/binutils.info +@@ -2335,7 +2335,7 @@ given. + 'efs', 'power4', 'power5', 'power6', 'power7', 'power8', 'power9', + 'power10', 'ppc', 'ppc32', 'ppc64', 'ppc64bridge', 'ppcps', 'pwr', + 'pwr2', 'pwr4', 'pwr5', 'pwr5x', 'pwr6', 'pwr7', 'pwr8', 'pwr9', +- 'pwr10', 'pwrx', 'titan', 'vle', and 'future'. '32' and '64' ++ 'pwr10', 'pwrx', 'titan', 'c2000', 'vle', and 'future'. '32' and '64' + modify the default or a prior CPU selection, disabling and enabling + 64-bit insns respectively. In addition, 'altivec', 'any', 'lsp', + 'htm', 'vsx', 'spe' and 'spe2' add capabilities to a previous _or +diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi +index e48a48dd..e33d5beb 100644 +--- a/binutils/doc/binutils.texi ++++ b/binutils/doc/binutils.texi +@@ -2648,7 +2648,7 @@ rather than @code{li}. All of the @option{-m} arguments for + @option{ppc32}, @option{ppc64}, @option{ppc64bridge}, @option{ppcps}, + @option{pwr}, @option{pwr2}, @option{pwr4}, @option{pwr5}, @option{pwr5x}, + @option{pwr6}, @option{pwr7}, @option{pwr8}, @option{pwr9}, @option{pwr10}, +-@option{pwrx}, @option{titan}, @option{vle}, and @option{future}. ++@option{pwrx}, @option{titan}, @option{c2000}, @option{vle}, and @option{future}. + @option{32} and @option{64} modify the default or a prior CPU + selection, disabling and enabling 64-bit insns respectively. In + addition, @option{altivec}, @option{any}, @option{lsp}, @option{htm}, +diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c +index 9450fa74..f904c7ed 100644 +--- a/gas/config/tc-ppc.c ++++ b/gas/config/tc-ppc.c +@@ -1426,6 +1426,8 @@ PowerPC options:\n")); + fprintf (stream, _("\ + -mtitan generate code for AppliedMicro Titan core complex\n")); + fprintf (stream, _("\ ++-mc2000 generate code for Hexin C2000 architecture\n")); ++ fprintf (stream, _("\ + -mregnames Allow symbolic names for registers\n")); + fprintf (stream, _("\ + -mno-regnames Do not allow symbolic names for registers\n")); +diff --git a/gas/doc/as.info b/gas/doc/as.info +index 37793fa5..6c8fdcf7 100644 +--- a/gas/doc/as.info ++++ b/gas/doc/as.info +@@ -288,7 +288,7 @@ Command-Line Options: Invoking. + -mbroadway|-mppc64|-m620|-me500|-e500x2|-me500mc|-me500mc64|-me5500| + -me6500|-mppc64bridge|-mbooke|-mpower4|-mpwr4|-mpower5|-mpwr5|-mpwr5x| + -mpower6|-mpwr6|-mpower7|-mpwr7|-mpower8|-mpwr8|-mpower9|-mpwr9-ma2| +- -mcell|-mspe|-mspe2|-mtitan|-me300|-mcom ++ -mcell|-mspe|-mspe2|-mtitan|-mc2000|-me300|-mcom + -many -maltivec|-mvsx|-mhtm|-mvle + -mregnames|-mno-regnames + -mrelocatable|-mrelocatable-lib|-K PIC -memb +@@ -18366,6 +18366,9 @@ architecture reference manual. + '-mfuture' + Generate code for 'future' architecture. + ++'-mc2000' ++ Generate code for Hexin C2000 architecture. ++ + '-mcell' + '-mcell' + Generate code for Cell Broadband Engine architecture. +diff --git a/gas/doc/as.texi b/gas/doc/as.texi +index bbdfa4bf..d046c18e 100644 +--- a/gas/doc/as.texi ++++ b/gas/doc/as.texi +@@ -536,7 +536,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. + @b{-mbroadway}|@b{-mppc64}|@b{-m620}|@b{-me500}|@b{-e500x2}|@b{-me500mc}|@b{-me500mc64}|@b{-me5500}| + @b{-me6500}|@b{-mppc64bridge}|@b{-mbooke}|@b{-mpower4}|@b{-mpwr4}|@b{-mpower5}|@b{-mpwr5}|@b{-mpwr5x}| + @b{-mpower6}|@b{-mpwr6}|@b{-mpower7}|@b{-mpwr7}|@b{-mpower8}|@b{-mpwr8}|@b{-mpower9}|@b{-mpwr9}@b{-ma2}| +- @b{-mcell}|@b{-mspe}|@b{-mspe2}|@b{-mtitan}|@b{-me300}|@b{-mcom} ++ @b{-mcell}|@b{-mspe}|@b{-mspe2}|@b{-mtitan}|@b{-mc2000}|@b{-me300}|@b{-mcom} + @b{-many} @b{-maltivec}|@b{-mvsx}|@b{-mhtm}|@b{-mvle} + @b{-mregnames}|@b{-mno-regnames} + @b{-mrelocatable}|@b{-mrelocatable-lib}|@b{-K PIC} @b{-memb} +diff --git a/gas/doc/c-ppc.texi b/gas/doc/c-ppc.texi +index f1dc17c6..115b730c 100644 +--- a/gas/doc/c-ppc.texi ++++ b/gas/doc/c-ppc.texi +@@ -159,6 +159,9 @@ Generate code for Power10 architecture. + @item -mfuture + Generate code for 'future' architecture. + ++@item -mc2000 ++Generate code for Hexin C2000 architecture. ++ + @item -mcell + @item -mcell + Generate code for Cell Broadband Engine architecture. +diff --git a/gas/po/gas.pot b/gas/po/gas.pot +old mode 100644 +new mode 100755 +index 09c2411b..df3a81e1 +--- a/gas/po/gas.pot ++++ b/gas/po/gas.pot +@@ -8,10 +8,11 @@ msgid "" + msgstr "" + "Project-Id-Version: PACKAGE VERSION\n" + "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n" +-"POT-Creation-Date: 2023-01-14 13:17+0000\n" ++"POT-Creation-Date: 2024-01-03 14:12+0800\n" + "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" + "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" + "Language-Team: LANGUAGE <LL@li.org>\n" ++"Language: \n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=CHARSET\n" + "Content-Transfer-Encoding: 8bit\n" +@@ -647,7 +648,7 @@ msgstr "" + #: cgen.c:106 config/tc-alpha.c:2094 config/tc-alpha.c:2118 + #: config/tc-arc.c:4072 config/tc-arc.c:4145 config/tc-d10v.c:550 + #: config/tc-d30v.c:534 config/tc-mn10200.c:1091 config/tc-mn10300.c:1752 +-#: config/tc-ppc.c:3957 config/tc-s390.c:1334 config/tc-s390.c:1457 ++#: config/tc-ppc.c:3959 config/tc-s390.c:1334 config/tc-s390.c:1457 + #: config/tc-s390.c:1591 config/tc-v850.c:2535 config/tc-v850.c:2606 + #: config/tc-v850.c:2653 config/tc-v850.c:2690 config/tc-v850.c:2727 + #: config/tc-v850.c:2990 +@@ -655,7 +656,7 @@ msgid "too many fixups" + msgstr "" + + #: cgen.c:371 cgen.c:391 config/tc-d10v.c:461 config/tc-d30v.c:450 +-#: config/tc-mn10200.c:1033 config/tc-mn10300.c:1677 config/tc-ppc.c:3479 ++#: config/tc-mn10200.c:1033 config/tc-mn10300.c:1677 config/tc-ppc.c:3481 + #: config/tc-s390.c:1318 config/tc-v850.c:2644 config/tc-v850.c:2678 + #: config/tc-v850.c:2718 config/tc-v850.c:2963 config/tc-z80.c:785 + msgid "illegal operand" +@@ -664,7 +665,7 @@ msgstr "" + #: cgen.c:395 config/tc-avr.c:910 config/tc-d10v.c:463 config/tc-d30v.c:452 + #: config/tc-h8300.c:493 config/tc-mcore.c:662 config/tc-microblaze.c:613 + #: config/tc-mmix.c:495 config/tc-mn10200.c:1036 config/tc-mn10300.c:1680 +-#: config/tc-msp430.c:417 config/tc-ppc.c:3481 config/tc-s390.c:1323 ++#: config/tc-msp430.c:417 config/tc-ppc.c:3483 config/tc-s390.c:1323 + #: config/tc-sh.c:988 config/tc-v850.c:2648 config/tc-v850.c:2682 + #: config/tc-v850.c:2722 config/tc-v850.c:2966 config/tc-xgate.c:895 + #: config/tc-z80.c:932 config/tc-z8k.c:349 +@@ -688,7 +689,7 @@ msgstr "" + msgid "expression too complex" + msgstr "" + +-#: cgen.c:959 config/tc-ppc.c:7484 config/tc-s390.c:2373 config/tc-v850.c:3499 ++#: cgen.c:959 config/tc-ppc.c:7486 config/tc-s390.c:2373 config/tc-v850.c:3499 + #: config/tc-xstormy16.c:541
View file
_service:tar_scm:binutils-fix-testsuite-failures.patch
Deleted
@@ -1,330 +0,0 @@ -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-10.d binutils-2.32/ld/testsuite/ld-plugin/plugin-10.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-10.d 2019-02-15 13:33:21.979627285 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-10.d 2019-02-15 13:40:26.911199033 +0000 -@@ -34,5 +34,6 @@ hook called: claim_file tmpdir/libtext.a - hook called: all symbols read. - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF - Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY -+#... - hook called: cleanup. - #... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-13.d binutils-2.32/ld/testsuite/ld-plugin/plugin-13.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-13.d 2019-02-15 13:33:21.980627277 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-13.d 2019-02-15 13:41:30.189692800 +0000 -@@ -23,5 +23,3 @@ hook called: claim_file tmpdir/main.o \ - hook called: claim_file .*/ld/testsuite/ld-plugin/func.c \@0/.* CLAIMED - hook called: claim_file tmpdir/text.o \@0/.* not claimed - #... --.*main.c.*: undefined reference to `\.?func' --#... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-14.d binutils-2.32/ld/testsuite/ld-plugin/plugin-14.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-14.d 2019-02-15 13:33:21.977627301 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-14.d 2019-02-15 13:42:03.598430960 +0000 -@@ -27,7 +27,6 @@ hook called: claim_file .*/ld/testsuite/ - hook called: claim_file tmpdir/text.o \@0/.* not claimed - #... - hook called: all symbols read. --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. - #... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-15.d binutils-2.32/ld/testsuite/ld-plugin/plugin-15.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-15.d 2019-02-15 13:33:21.980627277 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-15.d 2019-02-15 13:42:28.014239600 +0000 -@@ -28,7 +28,6 @@ hook called: claim_file .*/ld/testsuite/ - hook called: claim_file tmpdir/text.o \@0/.* not claimed - #... - hook called: all symbols read. --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. - #... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-16.d binutils-2.32/ld/testsuite/ld-plugin/plugin-16.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-16.d 2019-02-15 13:33:21.977627301 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-16.d 2019-02-15 13:43:21.309821910 +0000 -@@ -30,9 +30,8 @@ hook called: claim_file .*/ld/testsuite/ - hook called: claim_file tmpdir/text.o \@0/.* not claimed - #... - hook called: all symbols read. --Sym: '_?func' Resolution: LDPR_PREVAILING_DEF -+Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY - Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. - #... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-17.d binutils-2.32/ld/testsuite/ld-plugin/plugin-17.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-17.d 2019-02-15 13:33:21.977627301 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-17.d 2019-02-15 13:43:54.925558451 +0000 -@@ -31,7 +31,8 @@ hook called: claim_file .*/ld/testsuite/ - hook called: claim_file tmpdir/text.o \@0/.* not claimed - #... - hook called: all symbols read. --Sym: '_?func' Resolution: LDPR_PREVAILING_DEF -+Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY - Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY -+#... - hook called: cleanup. - #... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-20.d binutils-2.32/ld/testsuite/ld-plugin/plugin-20.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-20.d 2019-02-15 13:33:21.980627277 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-20.d 2019-02-15 13:49:20.091010016 +0000 -@@ -2,6 +2,5 @@ hook called: all symbols read. - Input: func.c \(tmpdir/libfunc.a\) - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-21.d binutils-2.32/ld/testsuite/ld-plugin/plugin-21.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-21.d 2019-02-15 13:33:21.978627293 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-21.d 2019-02-15 13:49:34.506897033 +0000 -@@ -2,6 +2,5 @@ hook called: all symbols read. - Input: .*/ld/testsuite/ld-plugin/func.c \(.*/ld/testsuite/ld-plugin/func.c\) - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-22.d binutils-2.32/ld/testsuite/ld-plugin/plugin-22.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-22.d 2019-02-15 13:33:21.980627277 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-22.d 2019-02-15 13:50:00.409694022 +0000 -@@ -2,6 +2,5 @@ Claimed: tmpdir/libfunc.a \@.* - hook called: all symbols read. - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-23.d binutils-2.32/ld/testsuite/ld-plugin/plugin-23.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-23.d 2019-02-15 13:33:21.979627285 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-23.d 2019-02-15 13:50:14.938580156 +0000 -@@ -2,6 +2,5 @@ Claimed: .*/ld/testsuite/ld-plugin/func. - hook called: all symbols read. - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-24.d binutils-2.32/ld/testsuite/ld-plugin/plugin-24.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-24.d 2019-02-15 13:33:21.980627277 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-24.d 2019-02-15 13:49:46.346804240 +0000 -@@ -2,4 +2,5 @@ hook called: all symbols read. - Input: .*/ld/testsuite/ld-plugin/func.c \(.*/ld/testsuite/ld-plugin/func.c\) - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* -+#... - hook called: cleanup. -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-25.d binutils-2.32/ld/testsuite/ld-plugin/plugin-25.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-25.d 2019-02-15 13:33:21.978627293 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-25.d 2019-02-15 13:50:29.322467422 +0000 -@@ -2,4 +2,5 @@ Claimed: .*/ld/testsuite/ld-plugin/func. - hook called: all symbols read. - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF.* -+#... - hook called: cleanup. -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-28.d binutils-2.32/ld/testsuite/ld-plugin/plugin-28.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-28.d 2019-02-15 13:33:21.977627301 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-28.d 2019-02-15 13:45:05.343006557 +0000 -@@ -1 +1,3 @@ - .*: error: Error -+#... -+ -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-29.d binutils-2.32/ld/testsuite/ld-plugin/plugin-29.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-29.d 2019-02-15 13:33:21.978627293 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-29.d 2019-02-15 13:45:22.764870016 +0000 -@@ -1 +1,2 @@ - .*: warning: Warning -+#... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-30.d binutils-2.32/ld/testsuite/ld-plugin/plugin-30.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-30.d 2019-02-15 13:33:21.976627309 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-30.d 2019-02-15 13:48:57.067190464 +0000 -@@ -24,3 +24,4 @@ hook called: claim_file tmpdir/main.o \ - hook called: claim_file tmpdir/func.o \@0/.* not claimed - hook called: claim_file tmpdir/text.o \@0/.* not claimed - hook called: claim_file tmpdir/libempty.a \@.* not claimed -+#pass -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-6.d binutils-2.32/ld/testsuite/ld-plugin/plugin-6.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-6.d 2019-02-15 13:33:21.979627285 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-6.d 2019-02-15 13:37:14.672749977 +0000 -@@ -27,7 +27,6 @@ hook called: claim_file tmpdir/func.o \ - hook called: claim_file tmpdir/text.o \@0/.* not claimed - #... - hook called: all symbols read. --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. - #... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-7.d binutils-2.32/ld/testsuite/ld-plugin/plugin-7.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-7.d 2019-02-15 13:33:21.977627301 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-7.d 2019-02-15 13:37:58.000400421 +0000 -@@ -28,7 +28,6 @@ hook called: claim_file tmpdir/func.o \ - hook called: claim_file tmpdir/text.o \@0/.* not claimed - #... - hook called: all symbols read. --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. - #... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-8.d binutils-2.32/ld/testsuite/ld-plugin/plugin-8.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-8.d 2019-02-15 13:33:21.980627277 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-8.d 2019-02-15 13:38:34.096109209 +0000 -@@ -32,7 +32,6 @@ hook called: claim_file tmpdir/text.o \ - hook called: all symbols read. - Sym: '_?func' Resolution: LDPR_PREVAILING_DEF - Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY --.*: tmpdir/main.o: in function `main': --.*main.c.*: undefined reference to `\.?func' -+#... - hook called: cleanup. - #... -diff -rup binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-9.d binutils-2.32/ld/testsuite/ld-plugin/plugin-9.d ---- binutils-2.32.orig/ld/testsuite/ld-plugin/plugin-9.d 2019-02-15 13:33:21.977627301 +0000 -+++ binutils-2.32/ld/testsuite/ld-plugin/plugin-9.d 2019-02-15 13:39:52.655475403 +0000 -@@ -31,7 +31,8 @@ hook called: claim_file tmpdir/func.o \ - hook called: claim_file tmpdir/text.o \@0/.* not claimed - #... - hook called: all symbols read. --Sym: '_?func' Resolution: LDPR_PREVAILING_DEF -+Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="url">git@gitee.com:src-openeuler/binutils.git</param> <param name="scm">git</param> - <param name="revision">openEuler-23.09</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2