Mercurial > hg > CbC > CbC_gcc
diff gcc/config/m68k/linux.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/config/m68k/linux.h Tue May 25 18:58:51 2010 +0900 +++ b/gcc/config/m68k/linux.h Tue Mar 22 17:18:12 2011 +0900 @@ -1,7 +1,7 @@ /* Definitions for Motorola 68k running Linux-based GNU systems with ELF format. Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2006, - 2007, 2009 Free Software Foundation, Inc. + 2007, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -22,10 +22,9 @@ #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (68k GNU/Linux with ELF)"); -/* Add %(asm_cpu_spec) to the svr4.h definition of ASM_SPEC. */ +/* Add %(asm_cpu_spec) to a generic definition of ASM_SPEC. */ #undef ASM_SPEC -#define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec) \ - %{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*}" +#define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec)" #undef PREFERRED_STACK_BOUNDARY #define PREFERRED_STACK_BOUNDARY 32 @@ -71,19 +70,11 @@ /* Provide a LINK_SPEC appropriate for GNU/Linux. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate - combinations of options at link-time. We like to support here for - as many of the other GNU linker options as possible. But I don't - have the time to search for those flags. I am sure how to add - support for -soname shared_object_name. H.J. - - I took out %{v:%{!V:-V}}. It is too much :-(. They can use - -Wl,-V. + combinations of options at link-time. When the -shared link option is used a final link is not being done. */ -/* If ELF is the default format, we should not use /lib/elf. */ - #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" #undef LINK_SPEC @@ -91,7 +82,7 @@ %{!shared: \ %{!static: \ %{rdynamic:-export-dynamic} \ - %{!dynamic-linker*:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \ + -dynamic-linker " LINUX_DYNAMIC_LINKER "} \ %{static}}" /* For compatibility with linux/a.out */ @@ -233,4 +224,19 @@ #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"