* gendef: Export _sigbe on 64 bit as well.
* malloc_wrapper.cc (free): In malloc_printf, call caller_return_address instead of __builtin_return_address. (malloc): Ditto. (realloc): Ditto. (calloc): Ditto. * miscfuncs.cc (__caller_return_address): New function. * miscfuncs.h (caller_return_address): New macro calling __caller_return_address. (__caller_return_address): Add prototype.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/perl
|
||||
# Copyright 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2011, 2012, 2013, 2014
|
||||
# Red Hat, Inc.
|
||||
# Copyright 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
|
||||
# 2015 Red Hat, Inc.
|
||||
#
|
||||
# This file is part of Cygwin.
|
||||
#
|
||||
@@ -164,6 +164,7 @@ _sigfe: # stack is aligned on entry!
|
||||
jmp *%rax # and jmp to it
|
||||
.seh_endproc
|
||||
|
||||
.global _sigbe
|
||||
.seh_proc _sigbe
|
||||
_sigbe: # return here after cygwin syscall
|
||||
# stack is aligned on entry!
|
||||
|
Reference in New Issue
Block a user