PR bootstrap/77819 - undefined reference to gnu_libc_printf_pointer_format with uClibc
authorMartin Sebor <msebor@redhat.com>
Wed, 5 Oct 2016 15:21:40 +0000 (15:21 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Wed, 5 Oct 2016 15:21:40 +0000 (09:21 -0600)
commit73e1414cb829d02baef1bf241d4bdf3805f6f724
tree5f4fbd30346870c8eac86f2d6908619cb5dc3b0f
parent9563bfcdb4f236f218be52f8ff05bcd6527cac28
PR bootstrap/77819 - undefined reference to gnu_libc_printf_pointer_format with uClibc

gcc/ChangeLog:

PR bootstrap/77819
* config/linux.h (TARGET_PRINTF_POINTER_FORMAT): Define macro.
* config/linux.c (gnu_libc_printf_pointer_format): Remove.
* targhooks.c [DEFAULT_LIBC == LIBC_UCLIBC) && SINGLE_LIBC]
(default_printf_pointer_format): Define function.
* targhooks.c (linux_printf_pointer_format): Define new function.
* targhooks.h (linux_printf_pointer_format): Declare.
(gnu_libc_printf_pointer_format): Remove declaration.

From-SVN: r240793
gcc/ChangeLog
gcc/config/linux.c
gcc/config/linux.h
gcc/targhooks.c
gcc/targhooks.h