aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2018-03-20 10:56:02 +0100
committerChristophe Lyon <christophe.lyon@linaro.org>2018-04-25 20:59:27 +0000
commitf350fc2e37d79119afa73361f331b8be1174cf40 (patch)
treeefee7fb6ea18171b6dc01ff98ec1eb39a73f55ee /ld/testsuite
parentfac7bd6475c4058e7c1e0df29dac50579e427b34 (diff)
downloadgdb-f350fc2e37d79119afa73361f331b8be1174cf40.zip
gdb-f350fc2e37d79119afa73361f331b8be1174cf40.tar.gz
gdb-f350fc2e37d79119afa73361f331b8be1174cf40.tar.bz2
[ARM] FDPIC: Fix ld testcase not to conflict with uclibc's includes.
2018-04-25 Christophe Lyon <christophe.lyon@st.com> Mickaël Guêné <mickael.guene@st.com> ld/ * testsuite/ld-elf/pr2404b.c (main): Rename time variable into time1.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-elf/pr2404b.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld-elf/pr2404b.c b/ld/testsuite/ld-elf/pr2404b.c
index 5f0f7b4..4bbc2b1 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;