This is the mail archive of the binutils-cvs@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]

[binutils-gdb] gold: Add a newline at end of pr22266_a.c


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ff174d3ffad13af17a61583db3e1cd9c0c6cf237

commit ff174d3ffad13af17a61583db3e1cd9c0c6cf237
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Nov 28 09:00:44 2017 -0800

    gold: Add a newline at end of pr22266_a.c
    
    This patch fixes the build with GCC 4.2:
    
    gold/testsuite/pr22266_a.c:13:2: error: no newline at end of file
    
    	* testsuite/pr22266_a.c: Add a newline at end of file.

Diff:
---
 gold/ChangeLog             | 4 ++++
 gold/testsuite/pr22266_a.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gold/ChangeLog b/gold/ChangeLog
index c3c7481..4cf92ba 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* testsuite/pr22266_a.c: Add a newline at end of file.
+
 2017-11-27  Cary Coutant  <ccoutant@gmail.com>
 
 	PR gold/19291
diff --git a/gold/testsuite/pr22266_a.c b/gold/testsuite/pr22266_a.c
index bdc09d4..7c773db 100644
--- a/gold/testsuite/pr22266_a.c
+++ b/gold/testsuite/pr22266_a.c
@@ -10,4 +10,4 @@ const char *
 hello (void)
 {
   return "XXXHello, world!" + 3;
-}
\ No newline at end of file
+}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]