Mercurial > hg > CbC > CbC_gcc
diff gcc/config/m32r/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 | a06113de4d67 |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/config/m32r/linux.h Tue May 25 18:58:51 2010 +0900 +++ b/gcc/config/m32r/linux.h Tue Mar 22 17:18:12 2011 +0900 @@ -1,5 +1,6 @@ /* Definitions for Renesas M32R running Linux-based GNU systems using ELF. - Copyright (C) 2003, 2004, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2006, 2007, 2010, 2011 + Free Software Foundation, Inc. This file is part of GCC. @@ -23,10 +24,6 @@ supposed to be outputting something that will assemble under SVr4. This gets us pretty close. */ -#define HANDLE_SYSV_PRAGMA - -#undef HANDLE_PRAGMA_PACK - #undef TARGET_VERSION #define TARGET_VERSION fprintf (stderr, " (M32R GNU/Linux with ELF)"); @@ -45,38 +42,28 @@ /* Provide a LINK_SPEC appropriate for 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-linux.so.2" #undef LINK_SPEC #if TARGET_LITTLE_ENDIAN #define LINK_SPEC "%(link_cpu) -m m32rlelf_linux %{shared:-shared} \ %{!shared: \ - %{!ibcs: \ - %{!static: \ - %{rdynamic:-export-dynamic} \ - %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \ - %{static:-static}}}" + %{!static: \ + %{rdynamic:-export-dynamic} \ + -dynamic-linker " LINUX_DYNAMIC_LINKER "} \ + %{static:-static}}" #else #define LINK_SPEC "%(link_cpu) -m m32relf_linux %{shared:-shared} \ %{!shared: \ - %{!ibcs: \ - %{!static: \ - %{rdynamic:-export-dynamic} \ - %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \ - %{static:-static}}}" + %{!static: \ + %{rdynamic:-export-dynamic} \ + -dynamic-linker " LINUX_DYNAMIC_LINKER "} \ + %{static:-static}}" #endif #undef LIB_SPEC