svn commit: r368545 - in stable/12/lib/csu/tests: . dynamic dynamicpie

John Baldwin jhb at FreeBSD.org
Fri Dec 11 01:06:50 UTC 2020


Author: jhb
Date: Fri Dec 11 01:06:49 2020
New Revision: 368545
URL: https://svnweb.freebsd.org/changeset/base/368545

Log:
  MFC 367576: Add C startup code tests for PIE binaries.
  
  - Force dynamic to be a non-PIE binary.
  
  - Add a dynamicpie test which uses a PIE binary.

Added:
  stable/12/lib/csu/tests/dynamicpie/
     - copied from r367576, head/lib/csu/tests/dynamicpie/
Modified:
  stable/12/lib/csu/tests/Makefile
  stable/12/lib/csu/tests/dynamic/Makefile
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/lib/csu/tests/Makefile
==============================================================================
--- stable/12/lib/csu/tests/Makefile	Fri Dec 11 01:04:36 2020	(r368544)
+++ stable/12/lib/csu/tests/Makefile	Fri Dec 11 01:06:49 2020	(r368545)
@@ -3,6 +3,7 @@
 SUBDIR=		dso
 TESTS_SUBDIRS=	dynamic
 TESTS_SUBDIRS+=	dynamiclib
+TESTS_SUBDIRS+=	dynamicpie
 TESTS_SUBDIRS+=	static
 
 SUBDIR_DEPEND_dynamiclib=dso

Modified: stable/12/lib/csu/tests/dynamic/Makefile
==============================================================================
--- stable/12/lib/csu/tests/dynamic/Makefile	Fri Dec 11 01:04:36 2020	(r368544)
+++ stable/12/lib/csu/tests/dynamic/Makefile	Fri Dec 11 01:06:49 2020	(r368545)
@@ -2,5 +2,8 @@
 
 .PATH: ${.CURDIR:H}
 
+.include <src.opts.mk>
+MK_PIE=	no
+
 .include "../Makefile.tests"
 .include <bsd.test.mk>


More information about the svn-src-all mailing list