aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-04-26 13:44:33 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-04-26 13:44:33 +0000
commitaa684341294a9125c528041f81d17c488bed5552 (patch)
tree8ad7a283c4b4891bf4055f3123ec840fa829db35 /ld/testsuite
parent79188d8d27a8885aee2ca4ff55238219a6aa7228 (diff)
downloadfsf-binutils-gdb-aa684341294a9125c528041f81d17c488bed5552.zip
fsf-binutils-gdb-aa684341294a9125c528041f81d17c488bed5552.tar.gz
fsf-binutils-gdb-aa684341294a9125c528041f81d17c488bed5552.tar.bz2
[ld/testsuite] Fix pr2404 output.
2018-04-26 Christophe Lyon <christophe.lyon@linaro.org> * testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for new variable name. * testsuite/ld-elf/pr2404.out: Adjust expected output accordingly.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-elf/pr2404.out4
-rw-r--r--ld/testsuite/ld-elf/pr2404b.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elf/pr2404.out b/ld/testsuite/ld-elf/pr2404.out
index d1aa5fe..987e528 100644
--- a/ld/testsuite/ld-elf/pr2404.out
+++ b/ld/testsuite/ld-elf/pr2404.out
@@ -1,4 +1,4 @@
times: -1
times: 20
-time: 0
-time: 10
+time1: 0
+time1: 10
diff --git a/ld/testsuite/ld-elf/pr2404b.c b/ld/testsuite/ld-elf/pr2404b.c
index 4bbc2b1..34c3c16 100644
--- a/ld/testsuite/ld-elf/pr2404b.c
+++ b/ld/testsuite/ld-elf/pr2404b.c
@@ -14,7 +14,7 @@ main ()
printf ("time1: %d\n", time1);
time1 = 10;
- printf ("time: %d\n", time1);
+ printf ("time1: %d\n", time1);
bar ();
return 0;