public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] ssp: do not use __ssp_protected_ symbol prefixes
@ 2018-01-26 17:51 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2018-01-26 17:51 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b920561fe3ec2128e783096e0c30fecb7ccb075d

commit b920561fe3ec2128e783096e0c30fecb7ccb075d
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Tue Jan 23 21:53:04 2018 -0600

    ssp: do not use __ssp_protected_ symbol prefixes
    
    This is a NetBSD-specific detail which does not apply to Newlib, causing
    linking issues in certain scenarios:
    
    https://cygwin.com/ml/cygwin/2018-01/msg00189.html
    
    Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

Diff:
---
 newlib/libc/include/ssp/ssp.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/newlib/libc/include/ssp/ssp.h b/newlib/libc/include/ssp/ssp.h
index 5c65cf4..9229086 100644
--- a/newlib/libc/include/ssp/ssp.h
+++ b/newlib/libc/include/ssp/ssp.h
@@ -51,7 +51,6 @@
 		__chk_fail()
 #define __ssp_decl(rtype, fun, args) \
 rtype __ssp_real_(fun) args __asm__(__ASMNAME(#fun)); \
-__ssp_inline rtype fun args __asm__(__ASMNAME("__ssp_protected_" #fun)); \
 __ssp_inline rtype fun args
 #define __ssp_redirect_raw(rtype, fun, args, call, cond, bos) \
 __ssp_decl(rtype, fun, args) \


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-26 17:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-26 17:51 [newlib-cygwin] ssp: do not use __ssp_protected_ symbol prefixes Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).