This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc 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]

GNU C Library master sources branch master updated. glibc-2.20-427-g7c1395a


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  7c1395a7e4d3d994a986ef2bc5457ba3f4aaec22 (commit)
      from  3c87c6167e1e6dc25cce9b4c67e4520b8be21e28 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7c1395a7e4d3d994a986ef2bc5457ba3f4aaec22

commit 7c1395a7e4d3d994a986ef2bc5457ba3f4aaec22
Author: Chris Metcalf <cmetcalf@ezchip.com>
Date:   Fri Dec 26 16:18:40 2014 -0500

    tilegx32: avoid a a -Werror warning from unwinding
    
    The _Unwind_GetCFA() routine returns a 64-bit value,
    which we interpret as a pointer.  Add an intermediate
    cast to long so that in ILP32 mode we don't get a warning
    about casting a wrong-sized integer to a pointer.

diff --git a/ChangeLog b/ChangeLog
index f7bfe91..3b01ed8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
+
+	* sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
+	long before casting to pointer to avoid a cast warning.
+
 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
 
 	* sysdeps/tile/tilegx/Implies: New file.
diff --git a/sysdeps/tile/jmpbuf-unwind.h b/sysdeps/tile/jmpbuf-unwind.h
index 3925e90..ec0be21 100644
--- a/sysdeps/tile/jmpbuf-unwind.h
+++ b/sysdeps/tile/jmpbuf-unwind.h
@@ -29,7 +29,7 @@
   ((void *) (address) < (void *) demangle ((jmpbuf)[JB_SP]))
 
 #define _JMPBUF_CFA_UNWINDS_ADJ(_jmpbuf, _context, _adj) \
-  _JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) _Unwind_GetCFA (_context), _adj)
+  _JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) (long) _Unwind_GetCFA (_context), _adj)
 
 static inline uintptr_t __attribute__ ((unused))
 _jmpbuf_sp (__jmp_buf regs)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                    |    5 +++++
 sysdeps/tile/jmpbuf-unwind.h |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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