diff options
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/linux.h | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/linux.h | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/linux64.h | 4 | ||||
-rw-r--r-- | gcc/config/sol2.c | 14 | ||||
-rw-r--r-- | gcc/config/sol2.h | 4 |
5 files changed, 0 insertions, 31 deletions
diff --git a/gcc/config/linux.h b/gcc/config/linux.h index 7211da20089..9aeeb948f55 100644 --- a/gcc/config/linux.h +++ b/gcc/config/linux.h @@ -208,8 +208,3 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see # define TARGET_LIBC_HAS_FUNCTION linux_libc_has_function #endif - -/* The format string to which "%p" corresponds (same in Glibc and - uClibc. */ -#undef TARGET_PRINTF_POINTER_FORMAT -#define TARGET_PRINTF_POINTER_FORMAT linux_printf_pointer_format diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index a28e17f966c..ac9296d79ec 100644 --- a/gcc/config/rs6000/linux.h +++ b/gcc/config/rs6000/linux.h @@ -138,7 +138,3 @@ || (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 19) #define RS6000_GLIBC_ATOMIC_FENV 1 #endif - -/* The format string to which "%p" corresponds. */ -#undef TARGET_PRINTF_POINTER_FORMAT -#define TARGET_PRINTF_POINTER_FORMAT linux_printf_pointer_format diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 7de51ea81a4..0101ec0ac69 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -640,7 +640,3 @@ extern int dot_symbols; enabling the __float128 keyword. */ #undef TARGET_FLOAT128_ENABLE_TYPE #define TARGET_FLOAT128_ENABLE_TYPE 1 - -/* The format string to which "%p" corresponds. */ -#undef TARGET_PRINTF_POINTER_FORMAT -#define TARGET_PRINTF_POINTER_FORMAT linux_printf_pointer_format 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"; -} diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 6f0270891f5..50f2b383a1b 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -440,10 +440,6 @@ along with GCC; see the file COPYING3. If not see #undef TARGET_LIBC_HAS_FUNCTION #define TARGET_LIBC_HAS_FUNCTION default_libc_has_function -/* The format string to which "%p" corresponds. */ -#undef TARGET_LIBC_PRINTF_POINTER_FORMAT -#define TARGET_LIBC_PRINTF_POINTER_FORMAT solaris_libc_printf_pointer_format - extern GTY(()) tree solaris_pending_aligns; extern GTY(()) tree solaris_pending_inits; extern GTY(()) tree solaris_pending_finis; |