mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
79937804a5
Testcases like ld-elf/pr19719a.c that printf ("PASS\n"); on success ought to see the whole output for "string match". Similarly, the ld-pe/ pdb*.d files shouldn't need to remove the last newline to match. For most of the testsuite it doesn't matter whether the trailing newline is present or not, and there are only a few cases where we need to remove it. * testsuite/lib/ld-lib.exp (run_host_cmd): Don't regsub away output trailing newline. Do string trim for gcc/ld version checks. * testsuite/config/default.exp (plug_so): Do string trim output of run_host_cmd. * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Adjust string match to include trailing newline. * testsuite/ld-i386/i386.exp (undefined_weak): Likewise. * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Likewise. * testsuite/ld-plugin/libdep.exp (run_test): Likewise. * testsuite/ld-plugin/lto.exp (PR ld/28138 run): Likewise. * testsuite/ld-pe/pdb-strings.d, * testsuite/ld-pe/pdb-syms1-globals.d, * testsuite/ld-pe/pdb-syms1-records.d, * testsuite/ld-pe/pdb-syms1-symbols1.d, * testsuite/ld-pe/pdb-syms1-symbols2.d, * testsuite/ld-pe/pdb-syms2-symbols1.d, * testsuite/ld-pe/pdb-types1-hashlist.d, * testsuite/ld-pe/pdb-types1-skiplist.d, * testsuite/ld-pe/pdb-types1-typelist.d, * testsuite/ld-pe/pdb-types2-hashlist.d, * testsuite/ld-pe/pdb-types2-skiplist.d, * testsuite/ld-pe/pdb-types2-typelist.d, * testsuite/ld-pe/pdb-types3-hashlist.d, * testsuite/ld-pe/pdb-types3-skiplist.d, * testsuite/ld-pe/pdb-types3-typelist.d, * testsuite/ld-pe/pdb1-publics.d, * testsuite/ld-pe/pdb1-sym-record.d, * testsuite/ld-pe/pdb2-section-contrib.d, * testsuite/ld-pe/pdb3-c13-info1.d, * testsuite/ld-pe/pdb3-c13-info2.d, * testsuite/ld-pe/pdb3-source-info.d: Add trailing newline.
42 lines
2.2 KiB
D
42 lines
2.2 KiB
D
|
|
*: file format binary
|
|
|
|
Contents of section .data:
|
|
0000 2c020000 08000000 00000000 00000000 ,...............
|
|
0010 00000000 00000000 00000000 ffffffff ................
|
|
0020 1a092ff1 10000000 0c020000 15000000 ../.............
|
|
0030 01000000 01000000 01000000 00000000 ................
|
|
0040 00000000 00000000 00000000 00000000 ................
|
|
0050 00000000 00000000 00000000 00000000 ................
|
|
0060 00000000 00000000 00000000 00000000 ................
|
|
0070 00000000 00000000 00000000 00000000 ................
|
|
0080 00000000 00000000 00000000 00000000 ................
|
|
0090 00000000 00000000 00000000 00000000 ................
|
|
00a0 00000000 00000000 00000000 00000000 ................
|
|
00b0 00000000 00000000 00000000 00000000 ................
|
|
00c0 00000000 00000000 00000000 00000000 ................
|
|
00d0 00000000 00000000 00000000 00000001 ................
|
|
00e0 00000000 00000000 00000000 00000000 ................
|
|
00f0 00000000 00000000 00000000 00000000 ................
|
|
0100 00000000 00000000 00000000 00000000 ................
|
|
0110 00000000 00000000 00000000 00000000 ................
|
|
0120 00000000 00000000 00000000 00000000 ................
|
|
0130 00000000 00000000 00000000 00000000 ................
|
|
0140 00000000 00000000 00000000 00000000 ................
|
|
0150 00000000 00000000 00000000 00000000 ................
|
|
0160 00000000 00000000 00000000 00000000 ................
|
|
0170 00000000 00000000 00000000 00000000 ................
|
|
0180 00000000 00000000 00000000 00000000 ................
|
|
0190 00000000 00000000 00000000 01000000 ................
|
|
01a0 00000000 00000000 00000000 00000000 ................
|
|
01b0 00000000 00000000 00000000 00000000 ................
|
|
01c0 00000000 00000000 00000000 00000000 ................
|
|
01d0 00000000 00000000 00000000 00000000 ................
|
|
01e0 00000000 00000000 00000000 00000000 ................
|
|
01f0 00000000 00000000 00000000 00000000 ................
|
|
0200 00000000 00000000 00000000 00000000 ................
|
|
0210 00000000 00000000 00000000 00000000 ................
|
|
0220 00000000 00000000 00000000 00000000 ................
|
|
0230 00000000 00000000 00000000 00000000 ................
|
|
0240 00000000 0c000000 00000000 14000000 ................
|