aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-01-04 17:13:51 +1030
committerAlan Modra <amodra@gmail.com>2021-01-04 18:58:15 +1030
commit5b4293ba3c207ebdaea3631819b9459f0a10e761 (patch)
treee7f1bc6ae597de21c0a991644eb5a7887e8e7b68 /ld/testsuite/ld-arm
parentdd933805d10b0035659dfec40630c30a0b33aa4c (diff)
downloadgdb-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-arm')
-rw-r--r--ld/testsuite/ld-arm/non-contiguous-arm2.d2
-rw-r--r--ld/testsuite/ld-arm/non-contiguous-arm3.d2
-rw-r--r--ld/testsuite/ld-arm/non-contiguous-arm5.d2
-rw-r--r--ld/testsuite/ld-arm/non-contiguous-arm6.d2
4 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld-arm/non-contiguous-arm2.d b/ld/testsuite/ld-arm/non-contiguous-arm2.d
index af40e84..14aca4c 100644
--- a/ld/testsuite/ld-arm/non-contiguous-arm2.d
+++ b/ld/testsuite/ld-arm/non-contiguous-arm2.d
@@ -21,7 +21,7 @@ SYMBOL TABLE:
20000000 l d .ramu 00000000 .ramu
20040000 l d .ramz 00000000 .ramz
00000000 l d .ARM.attributes 00000000 .ARM.attributes
-00000000 l df \*ABS\* 00000000 .*/non-contiguous-arm.o
+00000000 l df \*ABS\* 00000000 .*non-contiguous-arm.o
1fff0018 g .raml 00000000 _raml_end
20000000 g .ramu 00000000 _ramu_start
1fff000c g F .raml 00000000 code2
diff --git a/ld/testsuite/ld-arm/non-contiguous-arm3.d b/ld/testsuite/ld-arm/non-contiguous-arm3.d
index 6373922..c500a29 100644
--- a/ld/testsuite/ld-arm/non-contiguous-arm3.d
+++ b/ld/testsuite/ld-arm/non-contiguous-arm3.d
@@ -22,7 +22,7 @@ SYMBOL TABLE:
20000000 l d .ramu 00000000 .ramu
30040000 l d .ramz 00000000 .ramz
00000000 l d .ARM.attributes 00000000 .ARM.attributes
-00000000 l df \*ABS\* 00000000 .*/non-contiguous-arm.o
+00000000 l df \*ABS\* 00000000 .*non-contiguous-arm.o
20000008 l F .ramu 00000008 __code4_veneer
1fff0018 g .raml 00000000 _raml_end
20000000 g .ramu 00000000 _ramu_start
diff --git a/ld/testsuite/ld-arm/non-contiguous-arm5.d b/ld/testsuite/ld-arm/non-contiguous-arm5.d
index dc85d1e..60b6f56 100644
--- a/ld/testsuite/ld-arm/non-contiguous-arm5.d
+++ b/ld/testsuite/ld-arm/non-contiguous-arm5.d
@@ -21,7 +21,7 @@ SYMBOL TABLE:
20000000 l d .ramu 00000000 .ramu
20040000 l d .ramz 00000000 .ramz
00000000 l d .ARM.attributes 00000000 .ARM.attributes
-00000000 l df \*ABS\* 00000000 .*/non-contiguous-arm.o
+00000000 l df \*ABS\* 00000000 .*non-contiguous-arm.o
1fff000c g .raml 00000000 _raml_end
20000000 g .ramu 00000000 _ramu_start
20000000 g F .ramu 00000000 code2
diff --git a/ld/testsuite/ld-arm/non-contiguous-arm6.d b/ld/testsuite/ld-arm/non-contiguous-arm6.d
index 605d846..da69f6b 100644
--- a/ld/testsuite/ld-arm/non-contiguous-arm6.d
+++ b/ld/testsuite/ld-arm/non-contiguous-arm6.d
@@ -19,7 +19,7 @@ SYMBOL TABLE:
1fff0000 l d .raml 00000000 .raml
40040000 l d .ramz 00000000 .ramz
00000000 l d .ARM.attributes 00000000 .ARM.attributes
-00000000 l df \*ABS\* 00000000 .*/non-contiguous-arm.o
+00000000 l df \*ABS\* 00000000 .*non-contiguous-arm.o
1fff0020 l F .raml 00000008 __code4_veneer
1fff0028 g .raml 00000000 _raml_end
30000000 g .raml 00000000 _ramu_start