diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-09-21 22:31:29 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-09-21 22:31:29 +0000 |
commit | 1eb14644246b11955d31f602ffd4551cfd9af2dd (patch) | |
tree | e96a43060e00e41ba881f4ab0fb88b8029be87bf /gcc/machmode.h | |
parent | f5db61ef0b054bbdb86d1d0feceb066821288f19 (diff) | |
download | gcc-1eb14644246b11955d31f602ffd4551cfd9af2dd.zip gcc-1eb14644246b11955d31f602ffd4551cfd9af2dd.tar.gz gcc-1eb14644246b11955d31f602ffd4551cfd9af2dd.tar.bz2 |
machmode.h (HOST_PTR_PRINTF): Move from here ...
* 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.
From-SVN: r29568
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index 79ab7b0..eedcc5a 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, |