libc/winsup/cygwin/lib
Peter Foley c0b6fc54b1 Remove unused and unsafe call to __builtin_frame_address
initial_sp has been unused since commit fbf23e3 back in 2000.
Keep the value, so as to avoid changing the offset of magic_biscuit.

winsup/cygwin/lib/_cygwin_crt0_common.cc:140:52:
error: calling 'void* __builtin_frame_address(unsigned int)' with a
nonzero argument is unsafe [-Werror=frame-address]
   u->initial_sp = (char *) __builtin_frame_address (1);

winsup/cygwin/ChangeLog
lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Initialize initial_sp
with nullptr.

Signed-off-by: Peter Foley <pefoley2@pefoley.com>
2016-03-20 11:51:43 +01:00
..
_cygwin_crt0_common.cc Remove unused and unsafe call to __builtin_frame_address 2016-03-20 11:51:43 +01:00
atexit.c * dcrt0.cc (cygwin_atexit): Change preceeding comment to reflect 2014-11-06 15:32:21 +00:00
crt0.h
cygwin_attach_dll.c
cygwin_crt0.c
dll_entry.c
dll_main.cc
dso_handle.c
libcmain.c
premain0.c
premain1.c
premain2.c
premain3.c
pseudo-reloc-dummy.c