summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-01-07 19:49:31 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-01-07 19:49:31 +0000
commit241972461fcd60a79fd289dec2ef3c5a1740a8c3 (patch)
tree912581664052819a2f54ece0c95043da5bb420c6 /gnu
parentee92463acae2be76c5a755afb7cc66671b27f701 (diff)
downloadsrc-test2-241972461fcd60a79fd289dec2ef3c5a1740a8c3.tar.gz
src-test2-241972461fcd60a79fd289dec2ef3c5a1740a8c3.zip
Remove gcclibs libssp build glue
r356356 started providing libssp based on ^/lib/libc/secure and disconnected this version from the build. This one did formally provide runtime support for _FORTIFY_SOURCE, but FreeBSD lacks the build support that would have been needed to take advantage of it. MFC after: never
Notes
Notes: svn path=/head/; revision=356463
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libssp/Makefile40
-rw-r--r--gnu/lib/libssp/Makefile.depend16
-rw-r--r--gnu/lib/libssp/config.h87
-rw-r--r--gnu/lib/libssp/libssp_nonshared/Makefile18
-rw-r--r--gnu/lib/libssp/libssp_nonshared/Makefile.depend11
5 files changed, 0 insertions, 172 deletions
diff --git a/gnu/lib/libssp/Makefile b/gnu/lib/libssp/Makefile
deleted file mode 100644
index 51e36d5ddb72..000000000000
--- a/gnu/lib/libssp/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# $FreeBSD$
-
-SHLIBDIR?= /lib
-
-MK_PROFILE= no
-MK_SSP= no
-
-.include <bsd.own.mk>
-
-GCCDIR= ${SRCTOP}/contrib/gcc
-GCCLIB= ${SRCTOP}/contrib/gcclibs
-SRCDIR= ${GCCLIB}/libssp
-
-.PATH: ${SRCDIR} ${SRCDIR}/ssp
-
-LIB= ssp
-SHLIB_MAJOR= 0
-LD_FATAL_WARNINGS= no
-
-SRCS= ssp.c memcpy-chk.c memmove-chk.c mempcpy-chk.c \
- memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
- strcat-chk.c strcpy-chk.c strncat-chk.c strncpy-chk.c \
- vsnprintf-chk.c vsprintf-chk.c
-
-CFLAGS+= -DHAVE_CONFIG_H
-CFLAGS+= -I${.CURDIR} -I${SRCDIR} -I${GCCLIB}/include
-
-VERSION_MAP= ${SRCDIR}/ssp.map
-
-
-INCS= ssp.h string.h stdio.h unistd.h
-INCSDIR=${INCLUDEDIR}/ssp
-
-CLEANFILES= ssp.h
-ssp.h: ssp.h.in
- sed -e 's/@ssp_have_usable_vsnprintf@/define/' ${.ALLSRC} > ${.TARGET}
-
-SUBDIR+= libssp_nonshared
-
-.include <bsd.lib.mk>
diff --git a/gnu/lib/libssp/Makefile.depend b/gnu/lib/libssp/Makefile.depend
deleted file mode 100644
index 8d409f5263ac..000000000000
--- a/gnu/lib/libssp/Makefile.depend
+++ /dev/null
@@ -1,16 +0,0 @@
-# $FreeBSD$
-# Autogenerated - do NOT edit!
-
-DIRDEPS = \
- include \
- include/xlocale \
- lib/${CSU_DIR} \
- lib/libc \
- lib/libcompiler_rt \
-
-
-.include <dirdeps.mk>
-
-.if ${DEP_RELDIR} == ${_DEP_RELDIR}
-# local dependencies - needed for -jN in clean tree
-.endif
diff --git a/gnu/lib/libssp/config.h b/gnu/lib/libssp/config.h
deleted file mode 100644
index 680f10754454..000000000000
--- a/gnu/lib/libssp/config.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* config.h. Generated by configure. */
-/* config.h.in. Generated from configure.ac by autoheader. */
-/* $FreeBSD$ */
-
-/* Define to 1 if you have the <alloca.h> header file. */
-/* #undef HAVE_ALLOCA_H */
-
-/* Define to 1 if you have the <fcntl.h> header file. */
-#define HAVE_FCNTL_H 1
-
-/* __attribute__((visibility ("hidden"))) supported */
-#define HAVE_HIDDEN_VISIBILITY 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the <limits.h> header file. */
-#define HAVE_LIMITS_H 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `mempcpy' function. */
-/* #undef HAVE_MEMPCPY */
-
-/* Define to 1 if you have the <paths.h> header file. */
-#define HAVE_PATHS_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdio.h> header file. */
-#define HAVE_STDIO_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `strncat' function. */
-#define HAVE_STRNCAT 1
-
-/* Define to 1 if you have the `strncpy' function. */
-#define HAVE_STRNCPY 1
-
-/* Define to 1 if you have the <syslog.h> header file. */
-#define HAVE_SYSLOG_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* vsnprintf is present and works */
-#define HAVE_USABLE_VSNPRINTF 1
-
-/* Name of package */
-#define PACKAGE "libssp"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT ""
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "libssp"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "libssp 1.0"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "libssp"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.0"
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "1.0"
diff --git a/gnu/lib/libssp/libssp_nonshared/Makefile b/gnu/lib/libssp/libssp_nonshared/Makefile
deleted file mode 100644
index 64bc98f82ef8..000000000000
--- a/gnu/lib/libssp/libssp_nonshared/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-# $FreeBSD$
-
-GCCDIR= ${SRCTOP}/contrib/gcc
-GCCLIB= ${SRCTOP}/contrib/gcclibs
-
-.PATH: ${GCCLIB}/libssp ${GCCLIB}/libssp/ssp
-
-LIB= ssp_nonshared
-NO_PIC=
-MK_PROFILE=no
-
-SRCS= ssp-local.c
-
-CFLAGS+= -DHAVE_CONFIG_H
-CFLAGS+= -I${.CURDIR}/.. -I${GCCLIB}/libssp -I${GCCLIB}/include
-CFLAGS+= -fPIC -DPIC -fvisibility=hidden
-
-.include <bsd.lib.mk>
diff --git a/gnu/lib/libssp/libssp_nonshared/Makefile.depend b/gnu/lib/libssp/libssp_nonshared/Makefile.depend
deleted file mode 100644
index f80275d86ab1..000000000000
--- a/gnu/lib/libssp/libssp_nonshared/Makefile.depend
+++ /dev/null
@@ -1,11 +0,0 @@
-# $FreeBSD$
-# Autogenerated - do NOT edit!
-
-DIRDEPS = \
-
-
-.include <dirdeps.mk>
-
-.if ${DEP_RELDIR} == ${_DEP_RELDIR}
-# local dependencies - needed for -jN in clean tree
-.endif