diff options
author | Alan Modra <amodra@gmail.com> | 2018-02-21 13:09:29 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-02-26 09:33:15 +1030 |
commit | 6e05870c978aaa057b5ae0f525a2e9b803047ac8 (patch) | |
tree | bc73c8cd9499603f98fd6d7f6762eb3262631a88 /ld | |
parent | 59d08d6ce8cb6c41691266e133304c961c270e85 (diff) | |
download | fsf-binutils-gdb-6e05870c978aaa057b5ae0f525a2e9b803047ac8.zip fsf-binutils-gdb-6e05870c978aaa057b5ae0f525a2e9b803047ac8.tar.gz fsf-binutils-gdb-6e05870c978aaa057b5ae0f525a2e9b803047ac8.tar.bz2 |
BFD messages
bfd/
* archive.c, * bfd.c, * linker.c, * reloc.c, * stabs.c,
* syms.c: Standardize error/warning messages.
binutils/
* testsuite/binutils-all/mips/mips-reginfo-n32.d,
* testsuite/binutils-all/mips/mips-reginfo.d: Update.
gas/
* testsuite/gas/mips/reginfo-2.l: Update.
ld/
* testsuite/ld-arm/cmse-implib-errors.out,
* testsuite/ld-arm/cmse-new-earlier-later-implib.out,
* testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
* testsuite/ld-arm/cmse-new-wrong-implib.out,
* testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
* testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
* testsuite/ld-cris/badgotr1.d,
* testsuite/ld-cris/tls-err-24.d,
* testsuite/ld-cris/tls-err-25.d,
* testsuite/ld-cris/tls-err-26.d,
* testsuite/ld-cris/tls-err-27.d,
* testsuite/ld-cris/tls-err-28.d,
* testsuite/ld-cris/tls-err-40.d,
* testsuite/ld-cris/tls-err-44.d,
* testsuite/ld-cris/tls-err-48.d,
* testsuite/ld-cris/tls-err-52.d,
* testsuite/ld-cris/tls-err-53.d,
* testsuite/ld-cris/tls-err-55.d,
* testsuite/ld-cris/tls-err-56.d,
* testsuite/ld-cris/tls-err-62.d,
* testsuite/ld-cris/tls-err-65.d,
* testsuite/ld-cris/tls-err-77.d,
* testsuite/ld-elf/empty-implib.out,
* testsuite/ld-elf/indirect.exp: Update.
Diffstat (limited to 'ld')
25 files changed, 52 insertions, 25 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index aa0fdc9..5c457dd 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,32 @@ 2018-02-26 Alan Modra <amodra@gmail.com> + * testsuite/ld-arm/cmse-implib-errors.out, + * testsuite/ld-arm/cmse-new-earlier-later-implib.out, + * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out, + * testsuite/ld-arm/cmse-new-wrong-implib.out, + * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out, + * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out, + * testsuite/ld-cris/badgotr1.d, + * testsuite/ld-cris/tls-err-24.d, + * testsuite/ld-cris/tls-err-25.d, + * testsuite/ld-cris/tls-err-26.d, + * testsuite/ld-cris/tls-err-27.d, + * testsuite/ld-cris/tls-err-28.d, + * testsuite/ld-cris/tls-err-40.d, + * testsuite/ld-cris/tls-err-44.d, + * testsuite/ld-cris/tls-err-48.d, + * testsuite/ld-cris/tls-err-52.d, + * testsuite/ld-cris/tls-err-53.d, + * testsuite/ld-cris/tls-err-55.d, + * testsuite/ld-cris/tls-err-56.d, + * testsuite/ld-cris/tls-err-62.d, + * testsuite/ld-cris/tls-err-65.d, + * testsuite/ld-cris/tls-err-77.d, + * testsuite/ld-elf/empty-implib.out, + * testsuite/ld-elf/indirect.exp: Update. + +2018-02-26 Alan Modra <amodra@gmail.com> + * testsuite/ld-aarch64/reloc-overflow-bad.d, * testsuite/ld-arm/attr-merge-9.out, * testsuite/ld-arm/attr-merge-arch-2.d, diff --git a/ld/testsuite/ld-arm/cmse-implib-errors.out b/ld/testsuite/ld-arm/cmse-implib-errors.out index 6adb130..8f9ecc2 100644 --- a/ld/testsuite/ld-arm/cmse-implib-errors.out +++ b/ld/testsuite/ld-arm/cmse-implib-errors.out @@ -1,5 +1,5 @@ .*: .*: absent standard symbol `not_exported_fct2' .*: .*: invalid special symbol `__acle_se_not_exported_pseudoentry_var'; it must be a global or weak function symbol .*: .*: invalid standard symbol `not_exported_pseudoentry_var'; it must be a global or weak function symbol -.* cannot size stub section: Invalid operation +.* cannot size stub section: invalid operation #... diff --git a/ld/testsuite/ld-arm/cmse-new-earlier-later-implib.out b/ld/testsuite/ld-arm/cmse-new-earlier-later-implib.out index 3e4c17e..d7cd73f 100644 --- a/ld/testsuite/ld-arm/cmse-new-earlier-later-implib.out +++ b/ld/testsuite/ld-arm/cmse-new-earlier-later-implib.out @@ -1,3 +1,3 @@ .*: entry function `exported_entry_veneer3' disappeared from secure code .*: start address of `.gnu.sgstubs' is different from previous link -.*: cannot size stub section: Invalid operation +.*: cannot size stub section: invalid operation diff --git a/ld/testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out b/ld/testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out index 2c2658e..12c254c 100644 --- a/ld/testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out +++ b/ld/testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out @@ -1,2 +1,2 @@ .*: --in-implib only supported for Secure Gateway import libraries -.*: cannot size stub section: Invalid operation +.*: cannot size stub section: invalid operation diff --git a/ld/testsuite/ld-arm/cmse-new-wrong-implib.out b/ld/testsuite/ld-arm/cmse-new-wrong-implib.out index 037ce73..065dd37 100644 --- a/ld/testsuite/ld-arm/cmse-new-wrong-implib.out +++ b/ld/testsuite/ld-arm/cmse-new-wrong-implib.out @@ -1,3 +1,3 @@ .*: .*: visibility of symbol `exported_entry_veneer2' has changed .*: `exported_entry_fct2' refers to a non entry function -.*: cannot size stub section: Invalid operation +.*: cannot size stub section: invalid operation diff --git a/ld/testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out b/ld/testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out index 3f151dd..197566b 100644 --- a/ld/testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out +++ b/ld/testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out @@ -1,3 +1,3 @@ .*: no address assigned to the veneers output section .gnu.sgstubs -.*: cannot size stub section: Invalid operation +.*: cannot size stub section: invalid operation #... diff --git a/ld/testsuite/ld-arm/cmse-veneers-wrong-entryfct.out b/ld/testsuite/ld-arm/cmse-veneers-wrong-entryfct.out index 2145d69..dad7790 100644 --- a/ld/testsuite/ld-arm/cmse-veneers-wrong-entryfct.out +++ b/ld/testsuite/ld-arm/cmse-veneers-wrong-entryfct.out @@ -8,5 +8,5 @@ .*: .*: invalid standard symbol `obj_entry_veneer1'; it must be a global or weak function symbol .*: .*: invalid special symbol `__acle_se_obj_entry_veneer2'; it must be a global or weak function symbol .*: .*: `fake_entry_veneer2' and its special symbol are in different sections -.*: cannot size stub section: Invalid operation +.*: cannot size stub section: invalid operation #... diff --git a/ld/testsuite/ld-cris/badgotr1.d b/ld/testsuite/ld-cris/badgotr1.d index 971a631..f7a5ac8 100644 --- a/ld/testsuite/ld-cris/badgotr1.d +++ b/ld/testsuite/ld-cris/badgotr1.d @@ -2,7 +2,7 @@ #as: --pic --underscore --em=criself #ld: -m crislinux -shared #objdump: -dr -#error: \A[^\nc][^\n]*o: uses _-prefixed [^\nc]*\n[^\nc][^\n]* failed to merge [^\n]*\n[^\nc][^\n]* no GOT [^\n]*\n[^\nc][^\n]* Bad value\Z +#error: \A[^\nc][^\n]*o: uses _-prefixed [^\nc]*\n[^\nc][^\n]* failed to merge [^\n]*\n[^\nc][^\n]* no GOT [^\n]*\n[^\nc][^\n]* bad value\Z # The error regex above is supposed to not match if we get a # SEGV, in which case we'll see "child killed: segmentation diff --git a/ld/testsuite/ld-cris/tls-err-24.d b/ld/testsuite/ld-cris/tls-err-24.d index e1bc88b..0867870 100644 --- a/ld/testsuite/ld-cris/tls-err-24.d +++ b/ld/testsuite/ld-cris/tls-err-24.d @@ -2,6 +2,6 @@ #source: tls-z.s #as: --no-underscore --em=criself #ld: --shared -m crislinux -#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*Invalid operation\Z +#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*invalid operation\Z # Check that R_CRIS_16_TPREL in input to a DSO is flagged as an error. diff --git a/ld/testsuite/ld-cris/tls-err-25.d b/ld/testsuite/ld-cris/tls-err-25.d index df5ca6b..e162d6e 100644 --- a/ld/testsuite/ld-cris/tls-err-25.d +++ b/ld/testsuite/ld-cris/tls-err-25.d @@ -2,6 +2,6 @@ #source: tls-z.s #as: --no-underscore --em=criself #ld: --shared -m crislinux -#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*Invalid operation\Z +#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*invalid operation\Z # Check that R_CRIS_32_TPREL in input to a DSO is flagged as an error. diff --git a/ld/testsuite/ld-cris/tls-err-26.d b/ld/testsuite/ld-cris/tls-err-26.d index 71ecc9b..45ebfe2 100644 --- a/ld/testsuite/ld-cris/tls-err-26.d +++ b/ld/testsuite/ld-cris/tls-err-26.d @@ -2,7 +2,7 @@ #source: tls-x.s #as: --no-underscore --em=criself --pic #ld: --shared -m crislinux -#error: \A[^\n]*\.o,[^\n]*mixup[^\n]*\n[^\n]*Bad value\Z +#error: \A[^\n]*\.o,[^\n]*mixup[^\n]*\n[^\n]*bad value\Z # Check that R_CRIS_16_DTPREL on non-module-local symbol in input to a # DSO is flagged as an error. diff --git a/ld/testsuite/ld-cris/tls-err-27.d b/ld/testsuite/ld-cris/tls-err-27.d index 3d40b03..ce55924 100644 --- a/ld/testsuite/ld-cris/tls-err-27.d +++ b/ld/testsuite/ld-cris/tls-err-27.d @@ -2,7 +2,7 @@ #source: tls-x.s #as: --no-underscore --em=criself --pic #ld: --shared -m crislinux -#error: \A[^\n]*\.o,[^\n]*mixup[^\n]*\n[^\n]*Bad value\Z +#error: \A[^\n]*\.o,[^\n]*mixup[^\n]*\n[^\n]*bad value\Z # Check that R_CRIS_32_DTPREL on non-module-local symbol in input to a # DSO is flagged as an error. diff --git a/ld/testsuite/ld-cris/tls-err-28.d b/ld/testsuite/ld-cris/tls-err-28.d index d7bfa9d..8ccd40b 100644 --- a/ld/testsuite/ld-cris/tls-err-28.d +++ b/ld/testsuite/ld-cris/tls-err-28.d @@ -2,6 +2,6 @@ #source: tls-x.s #as: --no-underscore --em=criself #ld: --shared -m crislinux -#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*Invalid operation\Z +#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*invalid operation\Z # Check that a R_CRIS_32_GD in input to a DSO is flagged as an error. diff --git a/ld/testsuite/ld-cris/tls-err-40.d b/ld/testsuite/ld-cris/tls-err-40.d index ef9a18a..91b4165 100644 --- a/ld/testsuite/ld-cris/tls-err-40.d +++ b/ld/testsuite/ld-cris/tls-err-40.d @@ -1,6 +1,6 @@ #source: tls-ld-6.s --pic #as: --no-underscore --em=criself #ld: -m crislinux --shared -#error: \A[^\n]*\.o[^\n]*undefined reference[^\n]*\n[^\n]*Bad value\Z +#error: \A[^\n]*\.o[^\n]*undefined reference[^\n]*\n[^\n]*bad value\Z # Undefined reference for a R_CRIS_32_DTPREL in a DSO. diff --git a/ld/testsuite/ld-cris/tls-err-44.d b/ld/testsuite/ld-cris/tls-err-44.d index 251470d..941e21c 100644 --- a/ld/testsuite/ld-cris/tls-err-44.d +++ b/ld/testsuite/ld-cris/tls-err-44.d @@ -1,7 +1,7 @@ #source: tls-le-12.s #as: --no-underscore --em=criself #ld: -m crislinux --shared -#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*Invalid operation\Z +#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*invalid operation\Z # Undefined reference for a R_CRIS_32_TPREL in a DSO (where it's # invalid in the first place anyway, so we should see the same diff --git a/ld/testsuite/ld-cris/tls-err-48.d b/ld/testsuite/ld-cris/tls-err-48.d index 9165fcd..756f1b5 100644 --- a/ld/testsuite/ld-cris/tls-err-48.d +++ b/ld/testsuite/ld-cris/tls-err-48.d @@ -1,6 +1,6 @@ #source: tls-ld-4.s --pic #as: --no-underscore --em=criself #ld: -m crislinux --shared -#error: \A[^\n]*\.o[^\n]*undefined reference[^\n]*\n[^\n]*Bad value\Z +#error: \A[^\n]*\.o[^\n]*undefined reference[^\n]*\n[^\n]*bad value\Z # Undefined reference for a R_CRIS_16_DTPREL in a DSO. diff --git a/ld/testsuite/ld-cris/tls-err-52.d b/ld/testsuite/ld-cris/tls-err-52.d index cf0bbbc..b2f85cf 100644 --- a/ld/testsuite/ld-cris/tls-err-52.d +++ b/ld/testsuite/ld-cris/tls-err-52.d @@ -1,7 +1,7 @@ #source: tls-le-12s.s #as: --no-underscore --em=criself #ld: -m crislinux --shared -#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*Invalid operation\Z +#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*invalid operation\Z # Undefined reference for a R_CRIS_16_TPREL in a DSO (where it's # invalid in the first place anyway, so we should see the same diff --git a/ld/testsuite/ld-cris/tls-err-53.d b/ld/testsuite/ld-cris/tls-err-53.d index 1ae3d42..89884be 100644 --- a/ld/testsuite/ld-cris/tls-err-53.d +++ b/ld/testsuite/ld-cris/tls-err-53.d @@ -2,6 +2,6 @@ #source: tls-ld-4.s #as: --no-underscore --em=criself --pic #ld: -m crislinux tmpdir/tls-dso-xz-1.so -#error: \A[^\n]*\.o,[^\n]*mixup[^\n]*\n[^\n]*Bad value\Z +#error: \A[^\n]*\.o,[^\n]*mixup[^\n]*\n[^\n]*bad value\Z # R_CRIS_16_DTPREL in executable against symbol from DSO. diff --git a/ld/testsuite/ld-cris/tls-err-55.d b/ld/testsuite/ld-cris/tls-err-55.d index 08f77f3..32f0517 100644 --- a/ld/testsuite/ld-cris/tls-err-55.d +++ b/ld/testsuite/ld-cris/tls-err-55.d @@ -1,6 +1,6 @@ #source: tls-err-55.s #as: --pic --no-underscore --em=criself -I$srcdir/$subdir #ld: --shared -m crislinux -#error: \A[^\n]*\.o[^\n]*relocation R_CRIS_32_GOT_GD with non-zero addend 42 against symbol `tls128'[^\n]*\n[^\n]*Bad value\Z +#error: \A[^\n]*\.o[^\n]*relocation R_CRIS_32_GOT_GD with non-zero addend 42 against symbol `tls128'[^\n]*\n[^\n]*bad value\Z # Check that non-zero addend on a R_CRIS_32_GOT_GD is flagged as an error. diff --git a/ld/testsuite/ld-cris/tls-err-56.d b/ld/testsuite/ld-cris/tls-err-56.d index 2d592a6..8a68dd1 100644 --- a/ld/testsuite/ld-cris/tls-err-56.d +++ b/ld/testsuite/ld-cris/tls-err-56.d @@ -1,7 +1,7 @@ #source: tls-err-56.s #as: --pic --no-underscore --em=criself -I$srcdir/$subdir #ld: --shared -m crislinux -#error: \A[^\n]*\.o[^\n]*relocation R_CRIS_32_GOT_GD with non-zero addend 42 against symbol `tls128'[^\n]*\n[^\n]*Bad value\Z +#error: \A[^\n]*\.o[^\n]*relocation R_CRIS_32_GOT_GD with non-zero addend 42 against symbol `tls128'[^\n]*\n[^\n]*bad value\Z # Check that non-zero addend on a R_CRIS_32_GOT_GD is flagged as an error. # The difference to tls-err-55.d is that this one refers to a local symbol. diff --git a/ld/testsuite/ld-cris/tls-err-62.d b/ld/testsuite/ld-cris/tls-err-62.d index 4434120..da64d1c 100644 --- a/ld/testsuite/ld-cris/tls-err-62.d +++ b/ld/testsuite/ld-cris/tls-err-62.d @@ -1,7 +1,7 @@ #source: tls-err-62.s #as: --pic --no-underscore --em=criself -I$srcdir/$subdir #ld: --shared -m crislinux -#error: \A[^\n]*\.o[^\n]*relocation R_CRIS_32_GOT_TPREL with non-zero addend 42 against symbol `tls128'[^\n]*\n[^\n]*Bad value\Z +#error: \A[^\n]*\.o[^\n]*relocation R_CRIS_32_GOT_TPREL with non-zero addend 42 against symbol `tls128'[^\n]*\n[^\n]*bad value\Z # Check that non-zero addend on a R_CRIS_32_GOT_TPREL is flagged as an # error, local symbol. diff --git a/ld/testsuite/ld-cris/tls-err-65.d b/ld/testsuite/ld-cris/tls-err-65.d index 23c880f..62958a2 100644 --- a/ld/testsuite/ld-cris/tls-err-65.d +++ b/ld/testsuite/ld-cris/tls-err-65.d @@ -2,6 +2,6 @@ #source: tls-le-12s.s #as: --no-underscore --em=criself #ld: -m crislinux tmpdir/tls-dso-xz-1.so -#error: \A[^\n]*\.o,[^\n]*mixup[^\n]*\n[^\n]*Bad value\Z +#error: \A[^\n]*\.o,[^\n]*mixup[^\n]*\n[^\n]*bad value\Z # R_CRIS_16_TPREL in executable against symbol from DSO. diff --git a/ld/testsuite/ld-cris/tls-err-77.d b/ld/testsuite/ld-cris/tls-err-77.d index 9c714bf..6b7696b 100644 --- a/ld/testsuite/ld-cris/tls-err-77.d +++ b/ld/testsuite/ld-cris/tls-err-77.d @@ -2,6 +2,6 @@ #source: tls-x.s #as: --no-underscore --em=criself #ld: --shared -m crislinux -#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*Invalid operation\Z +#error: \A[^\n]*\.o, [^\n]*\n[^\n]*mixup[^\n]*\n[^\n]*invalid operation\Z # Check that a R_CRIS_32_IE in input to a DSO is flagged as an error. diff --git a/ld/testsuite/ld-elf/empty-implib.out b/ld/testsuite/ld-elf/empty-implib.out index f611eb7..1c5922f 100644 --- a/ld/testsuite/ld-elf/empty-implib.out +++ b/ld/testsuite/ld-elf/empty-implib.out @@ -1,3 +1,3 @@ .*: .*: no symbol found for import library .*: .*: failed to generate import library -.*: final link failed: No symbols +.*: final link failed: no symbols diff --git a/ld/testsuite/ld-elf/indirect.exp b/ld/testsuite/ld-elf/indirect.exp index 71664e7..66d3280 100644 --- a/ld/testsuite/ld-elf/indirect.exp +++ b/ld/testsuite/ld-elf/indirect.exp @@ -112,7 +112,7 @@ run_cc_link_tests $build_tests global ld -set string ": final link failed: Bad value" +set string ": final link failed: bad value" set string1 ": local symbol \`foo\' in tmpdir/indirect1b.o is referenced by DSO" set testname "Indirect symbol 1a" @@ -123,7 +123,7 @@ set testname "Indirect symbol 1b" set cmd "$ld -e start -o tmpdir/indirect1 tmpdir/indirect1a.o tmpdir/libindirect1c.so tmpdir/indirect1b.o" check_link_message "$cmd" [list $string1 $string] "$testname" -set string ": final link failed: Nonrepresentable section on output" +set string ": final link failed: nonrepresentable section on output" set string2 ": no symbol version section for versioned symbol \`foo@FOO\'" set testname "Indirect symbol 2" set cmd "$ld -shared -o tmpdir/indirect2.so tmpdir/indirect2.o" |