From 2908885c822eb43ffa2cdd67e0464e6d35afaf53 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Wed, 21 Dec 2016 11:52:19 +0100 Subject: Move all tests out of the csu subdirectory Stack-protection on .o files in csu/ must be suppressed for the sake of library startup code. This also suppresses stack-protection in tests (which are also covered by CFLAGS-.o), though this is neither necessary nor desirable. So impose the rule that .o files in csu/ are necessarily C startup code, and move the few tests in there into misc/ instead. --- misc/tst-empty.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 misc/tst-empty.c (limited to 'misc/tst-empty.c') diff --git a/misc/tst-empty.c b/misc/tst-empty.c new file mode 100644 index 0000000000..31860b06b3 --- /dev/null +++ b/misc/tst-empty.c @@ -0,0 +1,8 @@ +/* The most useful C program known to man. */ +static int +do_test (void) +{ + return 0; +} + +#include -- cgit v1.2.3