summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2018-01-23 21:53:04 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-26 11:51:15 -0600
commitb920561fe3ec2128e783096e0c30fecb7ccb075d (patch)
treeb2ad268e1b9d8347a78961258c6d3ab4e9b12c82
parent7d09d0e26191c1ca66c25dcfe0e62328ce87276f (diff)
downloadcygnal-b920561fe3ec2128e783096e0c30fecb7ccb075d.tar.gz
cygnal-b920561fe3ec2128e783096e0c30fecb7ccb075d.tar.bz2
cygnal-b920561fe3ec2128e783096e0c30fecb7ccb075d.zip
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>
-rw-r--r--newlib/libc/include/ssp/ssp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/newlib/libc/include/ssp/ssp.h b/newlib/libc/include/ssp/ssp.h
index 5c65cf4b2..922908659 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) \