Commit cd077e79 by Joseph Myers Committed by Joseph Myers

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
parent 7d7ff3a1
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> 2010-12-13 Alexandre Oliva <aoliva@redhat.com>
PR debug/46576 PR debug/46576
...@@ -1721,7 +1721,7 @@ m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux ...@@ -1721,7 +1721,7 @@ m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux
# ABI. # ABI.
default_m68k_cpu=68020 default_m68k_cpu=68020
default_cf_cpu=5206 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" tm_defines="${tm_defines} MOTOROLA=1 DEFAULT_LIBC=LIBC_UCLIBC"
extra_options="${extra_options} linux.opt" extra_options="${extra_options} linux.opt"
tmake_file="m68k/t-floatlib m68k/t-uclinux m68k/t-mlibs" tmake_file="m68k/t-floatlib m68k/t-uclinux m68k/t-mlibs"
...@@ -1732,7 +1732,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux ...@@ -1732,7 +1732,7 @@ m68k-*-linux*) # Motorola m68k's running GNU/Linux
default_m68k_cpu=68020 default_m68k_cpu=68020
default_cf_cpu=5475 default_cf_cpu=5475
with_arch=${with_arch:-m68k} 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" extra_options="${extra_options} m68k/ieee.opt"
tm_defines="${tm_defines} MOTOROLA=1" tm_defines="${tm_defines} MOTOROLA=1"
tmake_file="${tmake_file} m68k/t-floatlib m68k/t-linux m68k/t-mlibs" tmake_file="${tmake_file} m68k/t-floatlib m68k/t-linux m68k/t-mlibs"
......
...@@ -225,4 +225,19 @@ along with GCC; see the file COPYING3. If not see ...@@ -225,4 +225,19 @@ along with GCC; see the file COPYING3. If not see
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack #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" #define MD_UNWIND_SUPPORT "config/m68k/linux-unwind.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment