summaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-21 22:31:29 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-21 22:31:29 +0000
commitcfbfd5e6f61b61ee0d498fabf21fc299315ed6a0 (patch)
treee96a43060e00e41ba881f4ab0fb88b8029be87bf /gcc/machmode.h
parentcffff3aeabc75eae03fd283cffbfe61d8d469d87 (diff)
downloadgcc-cfbfd5e6f61b61ee0d498fabf21fc299315ed6a0.tar.gz
* machmode.h (HOST_PTR_PRINTF): Move from here ...
* system.h (HOST_PTR_PRINTF): ... to here. * mips-tfile.c: Don't include machmode.h. * Makefile.in (MACHMODE_H): New variable. Update to use it. (mips-tfile.o): Don't depend on machmode.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29568 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r--gcc/machmode.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h
index 79ab7b046eb..eedcc5a0069 100644
--- a/gcc/machmode.h
+++ b/gcc/machmode.h
@@ -21,21 +21,6 @@ Boston, MA 02111-1307, USA. */
#ifndef HAVE_MACHINE_MODES
#define HAVE_MACHINE_MODES
-/* Strictly speaking, this isn't the proper place to include these definitions,
- but this file is included by every GCC file. */
-
-/* Provide a default way to print an address in hex via printf. */
-
-#ifndef HOST_PTR_PRINTF
-# ifdef HAVE_PRINTF_PTR
-# define HOST_PTR_PRINTF "%p"
-# else
-# define HOST_PTR_PRINTF \
- (sizeof (int) == sizeof (char *) ? "%x" \
- : sizeof (long) == sizeof (char *) ? "%lx" : "%llx")
-# endif
-#endif /* ! HOST_PTR_PRINTF */
-
/* Make an enum class that gives all the machine modes. */
#define DEF_MACHMODE(SYM, NAME, TYPE, SIZE, UNIT, WIDER) SYM,