diff options
Diffstat (limited to 'gas/configure')
-rwxr-xr-x | gas/configure | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gas/configure b/gas/configure index 3f6a0b1..f2a907a 100755 --- a/gas/configure +++ b/gas/configure @@ -1017,6 +1017,8 @@ EOF ;; esac +# additional parsers based on cpu-type + case ${cpu_type} in m68k) case ${extra_objects} in @@ -1024,6 +1026,27 @@ EOF *) extra_objects="$extra_objects m68k-parse.o" ;; esac ;; + + mips) + echo ${extra_objects} | grep -s "itbl-parse.o" + if test $? -ne 0 ; then + extra_objects="$extra_objects itbl-parse.o" + fi + + echo ${extra_objects} | grep -s "itbl-lex.o" + if test $? -ne 0 ; then + extra_objects="$extra_objects itbl-lex.o" + fi + + echo ${extra_objects} | grep -s "itbl-ops.o" + if test $? -ne 0 ; then + extra_objects="$extra_objects itbl-ops.o" + fi + ;; + + *) + ;; + esac # See if we really can support this configuration with the emulation code. @@ -1267,8 +1290,10 @@ EOF files="config/tc-${target_cpu_type}.c config/tc-${target_cpu_type}.h \ config/obj-${obj_format}.h config/obj-${obj_format}.c \ config/te-${te_file}.h config/atof-${atof}.c \ + config/itbl-${target_cpu_type}.h \ $extra_files" links="targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c \ + itbl-cpu.h \ $extra_links" case ${primary_bfd_gas}-${target_cpu_type}-${obj_format} in |