From 111db5b197b27d87c6db903a132d288949984d51 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 29 Nov 2012 08:18:13 -0800 Subject: Mention that __chk_fail is a public ABI in test-strcpy_chk.c * debug/test-strcpy_chk.c: Mention __chk_fail ABI test. --- debug/test-strcpy_chk.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debug') diff --git a/debug/test-strcpy_chk.c b/debug/test-strcpy_chk.c index fb9bc78..41eb354 100644 --- a/debug/test-strcpy_chk.c +++ b/debug/test-strcpy_chk.c @@ -23,6 +23,9 @@ # define TEST_NAME "strcpy_chk" # include "../string/test-string.h" +/* This test case implicitly tests the availability of the __chk_fail + symbol, which is part of the public ABI and may be used + externally. */ extern void __attribute__ ((noreturn)) __chk_fail (void); char *simple_strcpy_chk (char *, const char *, size_t); extern char *normal_strcpy (char *, const char *, size_t) -- cgit v1.1