PR bootstrap/77819 - undefined reference to gnu_libc_printf_pointer_format with uClibc
commit9ce11577b63e817104a9590b60c5aac49ca4f6e2
authormsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2016 15:21:40 +0000 (5 15:21 +0000)
committermsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2016 15:21:40 +0000 (5 15:21 +0000)
tree5f4fbd30346870c8eac86f2d6908619cb5dc3b0f
parent5c176ebe96028cab1963bd918b6a64a6a84d5cab
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240793 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/linux.c
gcc/config/linux.h
gcc/targhooks.c
gcc/targhooks.h