This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, On 22 March 2018 at 15:38, Christophe Lyon <christophe.lyon@st.com> wrote: > 2018-XX-XX 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/testsuite/ld-elf/pr2404b.c | 8 ++++---- > 1 file 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); This update was inconsistent in terms of output, as well as wrt the expected output. I committed the attached patch as obious. Sorry, Christophe > bar (); > > return 0; > -- > 2.6.3 >
Attachment:
ld-test-pr2404.patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |