aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-05-02 16:42:39 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-05-02 16:42:39 +0100
commit47c94d21e4b95bf3f6d4797461f9dd80dceb22e8 (patch)
treede4216ecaa5f4cfa346989b9a31f180441372fdd /gcc/config.gcc
parente562bf36b644ab3403fc28a5e41bee94fcca1deb (diff)
downloadgcc-47c94d21e4b95bf3f6d4797461f9dd80dceb22e8.zip
gcc-47c94d21e4b95bf3f6d4797461f9dd80dceb22e8.tar.gz
gcc-47c94d21e4b95bf3f6d4797461f9dd80dceb22e8.tar.bz2
gcc_update (gcc/config/m68k/m68k-tables.opt): New dependencies.
contrib: * gcc_update (gcc/config/m68k/m68k-tables.opt): New dependencies. gcc: * config/m68k/genopt.sh, config/m68k/m68k-isas.def, config/m68k/m68k-microarchs.def, config/m68k/m68k-opts.h, config/m68k/t-opts: New files. * config/m68k/m68k-tables.opt: New file (generated). * config.gcc (fido-*-*, m68k-*-*): Add m68k/m68k-tables.opt to extra_options and m68k/t-opts to tmake_file. * config/m68k/m68k.c (m68k_library_id_string): More to m68k.opt. (all_isas): Initialize using m68k-isas.def. (all_microarchs): Initialize using m68k-microarchs.def. (m68k_find_selection): Remove. (m68k_handle_option): Don't assert that global structures are in use. Use error_at. Access variables via opts pointer. Don't handle -march=, -mcpu= and -mtune= here. Set gcc_options fields directly for -m68020-40 and -m68020-60. (m68k_option_override): Set m68k_arch_entry, m68k_cpu_entry and m68k_tune_entry here. * config/m68k/m68k.h (enum uarch_type, enum target_device): Move to m68k-opts.h. (m68k_library_id_string): Remove declaration. * config/m68k/m68k.opt (config/m68k/m68k-opts.h): New HeaderInclude. (m68k_library_id_string): New Variable. (march=, mcpu=, mtune=): Use Enum and Var. From-SVN: r173256
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index aa55bf6..c204ab1 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -317,6 +317,7 @@ moxie*) cpu_type=moxie
fido-*-*)
cpu_type=m68k
extra_headers=math-68881.h
+ extra_options="${extra_options} m68k/m68k-tables.opt"
;;
i[34567]86-*-*)
cpu_type=i386
@@ -360,6 +361,7 @@ m32r*-*-*)
;;
m68k-*-*)
extra_headers=math-68881.h
+ extra_options="${extra_options} m68k/m68k-tables.opt"
;;
microblaze*-*-*)
cpu_type=microblaze
@@ -3524,6 +3526,7 @@ case ${target} in
fido*-*-* | m68k*-*-*)
target_cpu_default2=$m68k_cpu_ident
+ tmake_file="m68k/t-opts $tmake_file"
if [ x"$m68k_arch_family" != x ]; then
tmake_file="m68k/t-$m68k_arch_family $tmake_file"
fi