OSDN Git Service

2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>
[pf3gnuchains/gcc-fork.git] / gcc / config.gcc
index a2c947d..536e4d6 100644 (file)
 #                      the --with-sysroot configure option or the
 #                      --sysroot command line option is used this
 #                      will be relative to the sysroot.
+# target_type_format_char 
+#                      The default character to be used for formatting
+#                      the attribute in a
+#                      .type symbol_name, ${t_t_f_c}<property>
+#                      directive.
 
 # The following variables are used in each case-construct to build up the
 # outgoing variables:
@@ -235,6 +240,7 @@ target_gtfiles=
 need_64bit_hwint=
 need_64bit_isa=
 native_system_header_dir=/usr/include
+target_type_format_char='@'
 
 # Don't carry these over build->host->target.  Please.
 xm_file=
@@ -321,6 +327,7 @@ am33_2.0-*-linux*)
 arm*-*-*)
        cpu_type=arm
        extra_headers="mmintrin.h arm_neon.h"
+       target_type_format_char='%'
        c_target_objs="arm-c.o"
        cxx_target_objs="arm-c.o"
        extra_options="${extra_options} arm/arm-tables.opt"
@@ -933,7 +940,7 @@ avr-*-rtems*)
        extra_objs="avr-devices.o avr-log.o"
        ;;
 avr-*-*)
-       tm_file="elfos.h avr/elf.h avr/avr.h dbxelf.h newlib-stdint.h"
+       tm_file="elfos.h avr/elf.h avr/avr.h dbxelf.h avr/avr-stdint.h"
        tmake_file="avr/t-avr avr/t-multilib"
        use_gcc_stdint=wrap
        extra_gcc_objs="driver-avr.o avr-devices.o"
@@ -1478,6 +1485,8 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
        extra_objs="winnt.o winnt-stubs.o"
        c_target_objs="${c_target_objs} msformat-c.o"
        cxx_target_objs="${cxx_target_objs} winnt-cxx.o msformat-c.o"
+       gas=yes
+       gnu_ld=yes
        default_use_cxa_atexit=yes
        use_gcc_stdint=wrap
        case ${enable_threads} in
@@ -1952,10 +1961,20 @@ powerpc64-*-darwin*)
        tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
        extra_headers=altivec.h
        ;;
-powerpc-*-freebsd*)
-       tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
-       tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
+powerpc*-*-freebsd*)
+       tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h"
        extra_options="${extra_options} rs6000/sysv4.opt"
+       tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
+       case ${host} in
+            powerpc64*)
+               tm_file="${tm_file} rs6000/default64.h rs6000/freebsd64.h"
+               tmake_file="${tmake_file} rs6000/t-freebsd64"
+               extra_options="${extra_options} rs6000/linux64.opt"
+               ;;
+            *)
+               tm_file="${tm_file} rs6000/freebsd.h"
+               ;;
+       esac
        ;;
 powerpc-*-netbsd*)
        tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h"
@@ -2503,6 +2522,16 @@ tilepro-*-linux*)
        c_target_objs="tilepro-c.o"
        cxx_target_objs="tilepro-c.o"
        ;;
+v850-*-rtems*)
+       target_cpu_default="TARGET_CPU_generic"
+       tm_file="dbxelf.h elfos.h v850/v850.h"
+       tm_file="${tm_file} rtems.h v850/rtems.h newlib-stdint.h"
+       tmake_file="${tmake_file} v850/t-v850"
+       tmake_file="${tmake_file} t-rtems v850/t-rtems"
+       use_collect2=no
+       c_target_objs="v850-c.o"
+       cxx_target_objs="v850-c.o"
+       ;;
 v850*-*-*)
        case ${target} in
        v850e2v3-*-*)