Mention that __chk_fail is a public ABI in test-strcpy_chk.c

* debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
This commit is contained in:
Florian Weimer 2012-11-29 08:18:13 -08:00 committed by David S. Miller
parent ebdcf03979
commit 111db5b197
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-06-04 Florian Weimer <fweimer@redhat.com>
* debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2012-11-28 David S. Miller <davem@davemloft.net> 2012-11-28 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update. * sysdeps/sparc/fpu/libm-test-ulps: Update.

View File

@ -23,6 +23,9 @@
# define TEST_NAME "strcpy_chk" # define TEST_NAME "strcpy_chk"
# include "../string/test-string.h" # 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); extern void __attribute__ ((noreturn)) __chk_fail (void);
char *simple_strcpy_chk (char *, const char *, size_t); char *simple_strcpy_chk (char *, const char *, size_t);
extern char *normal_strcpy (char *, const char *, size_t) extern char *normal_strcpy (char *, const char *, size_t)