From f350fc2e37d79119afa73361f331b8be1174cf40 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Tue, 20 Mar 2018 10:56:02 +0100 Subject: [PATCH] [ARM] FDPIC: Fix ld testcase not to conflict with uclibc's includes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2018-04-25 Christophe Lyon Mickaël Guêné ld/ * testsuite/ld-elf/pr2404b.c (main): Rename time variable into time1. --- ld/ChangeLog | 6 ++++++ ld/testsuite/ld-elf/pr2404b.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 30de4cbe66..07f172317f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2018-04-25 Christophe Lyon + Mickaël Guêné + + * testsuite/ld-elf/pr2404b.c (main): Rename time variable into + time1. + 2018-04-25 Christophe Lyon Mickaël Guêné diff --git a/ld/testsuite/ld-elf/pr2404b.c b/ld/testsuite/ld-elf/pr2404b.c index 5f0f7b4c87..4bbc2b1293 100644 --- a/ld/testsuite/ld-elf/pr2404b.c +++ b/ld/testsuite/ld-elf/pr2404b.c @@ -3,7 +3,7 @@ extern int bar (void); int times = -1; -int time; +int time1; int main () @@ -12,9 +12,9 @@ main () times = 20; printf ("times: %d\n", times); - printf ("time: %d\n", time); - time = 10; - printf ("time: %d\n", time); + printf ("time1: %d\n", time1); + time1 = 10; + printf ("time: %d\n", time1); bar (); return 0;