From: Florian Weimer Date: Thu, 29 Nov 2012 16:18:13 +0000 (-0800) Subject: Mention that __chk_fail is a public ABI in test-strcpy_chk.c X-Git-Tag: glibc-2.17~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=111db5b197b27d87c6db903a132d288949984d51;p=thirdparty%2Fglibc.git Mention that __chk_fail is a public ABI in test-strcpy_chk.c * debug/test-strcpy_chk.c: Mention __chk_fail ABI test. --- diff --git a/ChangeLog b/ChangeLog index 1826f32f23f..997a411d41d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-04 Florian Weimer + + * debug/test-strcpy_chk.c: Mention __chk_fail ABI test. + 2012-11-28 David S. Miller * sysdeps/sparc/fpu/libm-test-ulps: Update. diff --git a/debug/test-strcpy_chk.c b/debug/test-strcpy_chk.c index fb9bc78d458..41eb354fa00 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)