diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-12-13 11:24:59 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-12-13 11:24:59 +0000 |
commit | cd077e79a02e21519e11f92ea7aa2c48b110e4e3 (patch) | |
tree | 83253cbdbff93b18ebc65c9b39175cf1c1d937ed /gcc | |
parent | 7d7ff3a1c8615f9e6adee9ec84fe42cc1b3597c7 (diff) | |
download | gcc-cd077e79a02e21519e11f92ea7aa2c48b110e4e3.zip gcc-cd077e79a02e21519e11f92ea7aa2c48b110e4e3.tar.gz gcc-cd077e79a02e21519e11f92ea7aa2c48b110e4e3.tar.bz2 |
linux.h (DBX_REGISTER_NUMBER): Undefine and redefine.
* config/m68k/linux.h (DBX_REGISTER_NUMBER): Undefine and
redefine.
(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
* config.gcc (m68k-*-uclinux*, m68k-*-linux*): Don't use svr4.h.
From-SVN: r167743
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config.gcc | 4 | ||||
-rw-r--r-- | gcc/config/m68k/linux.h | 15 |
3 files changed, 24 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e31fb70..cbdd594 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2010-12-13 Joseph Myers <joseph@codesourcery.com> + + * config/m68k/linux.h (DBX_REGISTER_NUMBER): Undefine and + redefine. + (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Define. + * config.gcc (m68k-*-uclinux*, m68k-*-linux*): Don't use svr4.h. + 2010-12-13 Alexandre Oliva <aoliva@redhat.com> PR debug/46576 diff --git a/gcc/config.gcc b/gcc/config.gcc index dba1d96..4c1c4bd 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1721,7 +1721,7 @@ m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux # ABI. default_m68k_cpu=68020 default_cf_cpu=5206 - tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h flat.h m68k/linux.h m68k/uclinux.h ./sysroot-suffix.h" + tm_file="${tm_file} dbxelf.h elfos.h linux.h glibc-stdint.h flat.h m68k/linux.h m68k/uclinux.h ./sysroot-suffix.h" tm_defines="${tm_defines} MOTOROLA=1 DEFAULT_LIBC=LIBC_UCLIBC" extra_options="${extra_options} linux.opt" tmake_file="m68k/t-floatlib m68k/t-uclinux m68k/t-mlibs" @@ -1732,7 +1732,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux default_m68k_cpu=68020 default_cf_cpu=5475 with_arch=${with_arch:-m68k} - tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h glibc-stdint.h m68k/linux.h ./sysroot-suffix.h" + tm_file="${tm_file} dbxelf.h elfos.h linux.h glibc-stdint.h m68k/linux.h ./sysroot-suffix.h" extra_options="${extra_options} m68k/ieee.opt" tm_defines="${tm_defines} MOTOROLA=1" tmake_file="${tmake_file} m68k/t-floatlib m68k/t-linux m68k/t-mlibs" diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h index 9fb9497..be792f3 100644 --- a/gcc/config/m68k/linux.h +++ b/gcc/config/m68k/linux.h @@ -225,4 +225,19 @@ along with GCC; see the file COPYING3. If not see #define TARGET_ASM_FILE_END file_end_indicate_exec_stack +#undef DBX_REGISTER_NUMBER +#define DBX_REGISTER_NUMBER(REGNO) (REGNO) + +#undef SIZE_TYPE +#define SIZE_TYPE "unsigned int" + +#undef PTRDIFF_TYPE +#define PTRDIFF_TYPE "int" + +#undef WCHAR_TYPE +#define WCHAR_TYPE "long int" + +#undef WCHAR_TYPE_SIZE +#define WCHAR_TYPE_SIZE BITS_PER_WORD + #define MD_UNWIND_SUPPORT "config/m68k/linux-unwind.h" |