From aa684341294a9125c528041f81d17c488bed5552 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Thu, 26 Apr 2018 13:44:33 +0000 Subject: [PATCH] [ld/testsuite] Fix pr2404 output. 2018-04-26 Christophe Lyon * testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for new variable name. * testsuite/ld-elf/pr2404.out: Adjust expected output accordingly. --- ld/ChangeLog | 6 ++++++ ld/testsuite/ld-elf/pr2404.out | 4 ++-- ld/testsuite/ld-elf/pr2404b.c | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 2b0eb1a632e..076b2fed35a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2018-04-26 Christophe Lyon + + * testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for + new variable name. + * testsuite/ld-elf/pr2404.out: Adjust expected output accordingly. + 2018-04-25 Christophe Lyon * testsuite/ld-arm/export-class.exp: Accept arm*-*-uclinuxfdpiceabi. diff --git a/ld/testsuite/ld-elf/pr2404.out b/ld/testsuite/ld-elf/pr2404.out index d1aa5fe6498..987e5289fac 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 4bbc2b12931..34c3c163eab 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; -- 2.30.2