aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-10-08 08:44:50 +1030
committerAlan Modra <amodra@gmail.com>2018-10-08 20:26:08 +1030
commit7358942661ccb0ea1e819fd2f5d47914cebf0aa2 (patch)
tree647013dcb49ea45e21d982d4c5243d83a7694382 /ld/testsuite
parent5d695627883b32cf33adb529c8fc7271b46dcf55 (diff)
downloadgdb-7358942661ccb0ea1e819fd2f5d47914cebf0aa2.zip
gdb-7358942661ccb0ea1e819fd2f5d47914cebf0aa2.tar.gz
gdb-7358942661ccb0ea1e819fd2f5d47914cebf0aa2.tar.bz2
ld insert_os_after ignoring first assignment
Some time ago the pr19593 test was xfailed for alpha. This turned out to be the wrong course of action since the test exposed a bug in orphan section placement. On alpha, orphan sections were being inserted before ". = SIZEOF_HEADERS" due to the test having two assignments, and on alpha, an output section statement from -Ttext-segment being passed to ld. * ldlang.c (insert_os_after): Clear ignore_first on assignment to dot, not any assignment. Clear ignore_first on output section statement contents too. * testsuite/ld-elf/pr19539.d: Remove alpha xfail.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-elf/pr19539.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/pr19539.d b/ld/testsuite/ld-elf/pr19539.d
index 5153229..04e6791 100644
--- a/ld/testsuite/ld-elf/pr19539.d
+++ b/ld/testsuite/ld-elf/pr19539.d
@@ -3,7 +3,7 @@
#ld: -pie -T pr19539.t
#readelf : --dyn-syms --wide
#target: *-*-linux* *-*-gnu* *-*-solaris* arm*-*-uclinuxfdpiceabi
-#xfail: cris*-*-* alpha-*-*
+#xfail: cris*-*-*
Symbol table '\.dynsym' contains [0-9]+ entr(y|ies):
#pass