Remove redunant "warning: " prefix from stub warnings.

This commit is contained in:
Roland McGrath 2013-02-12 16:15:59 -08:00
parent a445af0bc7
commit cd52592332
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-02-12 Roland McGrath <roland@hack.frob.com>
* include/libc-symbols.h (stub_warning): Remove "warning: " prefix
from the message. The linker prefixes all warnings with that already.
2013-02-12 Andreas Schwab <schwab@suse.de>
[BZ #15078]

View File

@ -228,8 +228,7 @@
/* A canned warning for sysdeps/stub functions. */
#define stub_warning(name) \
__make_section_unallocated (".gnu.glibc-stub." #name) \
link_warning (name, \
"warning: " #name " is not implemented and will always fail")
link_warning (name, #name " is not implemented and will always fail")
/* Warning for linking functions calling dlopen into static binaries. */
#ifdef SHARED