[ARM] FDPIC: Fix ld testcase not to conflict with uclibc's includes.
authorChristophe Lyon <christophe.lyon@st.com>
Tue, 20 Mar 2018 09:56:02 +0000 (10:56 +0100)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 25 Apr 2018 20:59:27 +0000 (20:59 +0000)
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.

ld/ChangeLog
ld/testsuite/ld-elf/pr2404b.c

index 30de4cb..07f1723 100644 (file)
@@ -1,6 +1,12 @@
 2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
        Mickaël Guêné  <mickael.guene@st.com>
 
+       * testsuite/ld-elf/pr2404b.c (main): Rename time variable into
+       time1.
+
+2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
+       Mickaël Guêné  <mickael.guene@st.com>
+
        * scripttempl/elf.sc: Define __tdata_start for .tdata section.
 
 2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
index 5f0f7b4..4bbc2b1 100644 (file)
@@ -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;