public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: newlib@sourceware.org
Subject: [PATCH v3 9/9] cygwin: create libssp compatibility import library
Date: Tue, 28 Nov 2017 10:25:00 -0000	[thread overview]
Message-ID: <20171128085755.5928-10-yselkowi@redhat.com> (raw)
In-Reply-To: <20171128085755.5928-1-yselkowi@redhat.com>

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
---
 winsup/cygwin/Makefile.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index bc452087f..b7cadd755 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -540,7 +540,7 @@ endif
 API_VER:=$(srcdir)/include/cygwin/version.h
 
 LIB_NAME:=libcygwin.a
-SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a librt.a libacl.a
+SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a librt.a libacl.a libssp.a
 EXTRALIBS:=libautomode.a libbinmode.a libtextmode.a libtextreadmode.a
 INSTOBJS:=automode.o binmode.o textmode.o textreadmode.o
 TARGET_LIBS:=$(LIB_NAME) $(CYGWIN_START) $(GMON_START) $(LIBGMON_A) $(SUBLIBS) $(INSTOBJS) $(EXTRALIBS)
@@ -745,6 +745,9 @@ librt.a: ${LIB_NAME} posix_ipc.o
 libacl.a: ${LIB_NAME} sec_posixacl.o
 	${speclib} ${@F}
 
+libssp.a: ${LIB_NAME} $(newlib_build)/libc/ssp/lib.a
+	${speclib} ${@F}
+
 ${EXTRALIBS}: lib%.a: %.o
 	$(AR) cru $@ $?
 
-- 
2.15.0

  parent reply	other threads:[~2017-11-28  9:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28  8:58 [PATCH v3 0/9] Add Stack Smashing Protection and Object Size Checking Yaakov Selkowitz
2017-11-28  8:58 ` [PATCH v3 1/9] ssp: add APIs for Stack Smashing Protection Yaakov Selkowitz
2017-11-28  8:58 ` [PATCH v3 2/9] ssp: add Object Size Checking common code Yaakov Selkowitz
2017-11-28  8:58 ` [PATCH v3 5/9] ssp: add Object Size Checking for stdio.h functions, part 1 Yaakov Selkowitz
2017-11-28  8:58 ` [PATCH v3 7/9] ssp: add build infrastructure Yaakov Selkowitz
2017-11-28  9:04 ` [PATCH v3 3/9] ssp: add Object Size Checking for string.h functions Yaakov Selkowitz
2017-11-28  9:04 ` [PATCH v3 6/9] ssp: add Object Size Checking for unistd.h functions, part 1 Yaakov Selkowitz
2017-11-28  9:06 ` [PATCH v3 4/9] ssp: add Object Size Checking for strings.h functions Yaakov Selkowitz
2017-11-28  9:07 ` [PATCH v3 8/9] cygwin: export SSP functions Yaakov Selkowitz
2017-11-28 10:25 ` Yaakov Selkowitz [this message]
2017-11-29  0:21 ` [PATCH v3 0/9] Add Stack Smashing Protection and Object Size Checking Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171128085755.5928-10-yselkowi@redhat.com \
    --to=yselkowi@redhat.com \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).