diff options
author | Alan Modra <amodra@gmail.com> | 2021-01-04 17:13:51 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-01-04 18:58:15 +1030 |
commit | 5b4293ba3c207ebdaea3631819b9459f0a10e761 (patch) | |
tree | e7f1bc6ae597de21c0a991644eb5a7887e8e7b68 /ld/testsuite/ld-tic6x/static-app-1rb.rd | |
parent | dd933805d10b0035659dfec40630c30a0b33aa4c (diff) | |
download | gdb-5b4293ba3c207ebdaea3631819b9459f0a10e761.zip gdb-5b4293ba3c207ebdaea3631819b9459f0a10e761.tar.gz gdb-5b4293ba3c207ebdaea3631819b9459f0a10e761.tar.bz2 |
PR26822, How to prevent a STT_FILE with absolute path in the linked image
bfd/
PR 26822
* elflink.c (elf_link_input_bfd): Use the file base name in
linker generated STT_FILE symbols.
ld/
PR 26822
* testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
* testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
* testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
* testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
* testsuite/ld-i386/tlsbin.rd: Likewise.
* testsuite/ld-i386/tlsbin2.rd: Likewise.
* testsuite/ld-i386/tlsbindesc.rd: Likewise.
* testsuite/ld-i386/tlsdesc.rd: Likewise.
* testsuite/ld-i386/tlsnopic.rd: Likewise.
* testsuite/ld-i386/tlspic.rd: Likewise.
* testsuite/ld-i386/tlspic2.rd: Likewise.
* testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
* testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
* testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
* testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
* testsuite/ld-plugin/pr17973.d: Likewise.
* testsuite/ld-tic6x/shlib-1.rd: Likewise.
* testsuite/ld-tic6x/shlib-1b.rd: Likewise.
* testsuite/ld-tic6x/shlib-1r.rd: Likewise.
* testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
* testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
* testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
* testsuite/ld-tic6x/static-app-1.rd: Likewise.
* testsuite/ld-tic6x/static-app-1b.rd: Likewise.
* testsuite/ld-tic6x/static-app-1r.rd: Likewise.
* testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
* testsuite/ld-x86-64/tlsbin.rd: Likewise.
* testsuite/ld-x86-64/tlsbin2.rd: Likewise.
* testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
* testsuite/ld-x86-64/tlsdesc.rd: Likewise.
* testsuite/ld-x86-64/tlspic.rd: Likewise.
* testsuite/ld-x86-64/tlspic2.rd: Likewise.
* testsuite/ld-xtensa/tlsbin.rd: Likewise.
* testsuite/ld-xtensa/tlspic.rd: Likewise.
Diffstat (limited to 'ld/testsuite/ld-tic6x/static-app-1rb.rd')
-rw-r--r-- | ld/testsuite/ld-tic6x/static-app-1rb.rd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld-tic6x/static-app-1rb.rd b/ld/testsuite/ld-tic6x/static-app-1rb.rd index c0f934b..0d2fde8 100644 --- a/ld/testsuite/ld-tic6x/static-app-1rb.rd +++ b/ld/testsuite/ld-tic6x/static-app-1rb.rd @@ -15,8 +15,8 @@ Section Headers: \[10\] \.bss NOBITS 100000ec 0020ec 000004 00 WA 0 0 4 \[11\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020ec 000019 00 0 0 1 \[12\] \.symtab SYMTAB 00000000 002108 0001b0 10 13 21 4 - \[13\] \.strtab STRTAB 00000000 0022b8 000077 00 0 0 1 - \[14\] \.shstrtab STRTAB 00000000 00232f 000071 00 0 0 1 + \[13\] \.strtab STRTAB .* + \[14\] \.shstrtab STRTAB .* Key to Flags: #... @@ -91,9 +91,9 @@ Symbol table '\.symtab' contains 27 entries: 9: 100000e0 0 SECTION LOCAL DEFAULT 9 10: 100000ec 0 SECTION LOCAL DEFAULT 10 11: 00000000 0 SECTION LOCAL DEFAULT 11 - 12: 00000000 0 FILE LOCAL DEFAULT ABS tmpdir/shlib-1\.o + 12: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-1\.o 13: 10000000 0 FUNC LOCAL HIDDEN 7 sub1 - 14: 00000000 0 FILE LOCAL DEFAULT ABS tmpdir/shlib-app-1r\.o + 14: 00000000 0 FILE LOCAL DEFAULT ABS .*shlib-app-1r\.o 15: 10000080 0 NOTYPE LOCAL DEFAULT 7 fish 16: 00000000 0 FILE LOCAL DEFAULT ABS 17: 00008110 0 OBJECT LOCAL DEFAULT 6 _DYNAMIC |