summaryrefslogtreecommitdiff
path: root/gcc/config/sol2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sol2.c')
-rw-r--r--gcc/config/sol2.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/sol2.c b/gcc/config/sol2.c
index fcab9de054c..97f92e6c91f 100644
--- a/gcc/config/sol2.c
+++ b/gcc/config/sol2.c
@@ -31,9 +31,6 @@ along with GCC; see the file COPYING3. If not see
#include "varasm.h"
#include "output.h"
-#undef TARGET_PRINTF_POINTER_FORMAT
-#define TARGET_PRINTF_POINTER_FORMAT solaris_printf_pointer_format
-
tree solaris_pending_aligns, solaris_pending_inits, solaris_pending_finis;
/* Attach any pending attributes for DECL to the list in *ATTRIBUTES.
@@ -301,14 +298,3 @@ solaris_override_options (void)
if (!HAVE_LD_EH_FRAME_CIEV3 && !global_options_set.x_dwarf_version)
dwarf_version = 2;
}
-
-/* Solaris libc formats pointers as if by "%zx" with the pound ('#')
- format flag having the same meaning as in the integer directive. */
-
-const char*
-solaris_printf_pointer_format (tree, const char **flags)
-{
- *flags = "#";
-
- return "%zx";
-}