mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
make coff configure properly
This commit is contained in:
@ -45,45 +45,44 @@ cpu_type=${target_cpu}
|
|||||||
|
|
||||||
# assign object format
|
# assign object format
|
||||||
case ${target_os} in
|
case ${target_os} in
|
||||||
sysv* | -coff* )
|
bout*) obj_format=bout ;;
|
||||||
obj_format=coff
|
bsd* | sunos*) obj_format=aout ;;
|
||||||
;;
|
|
||||||
|
|
||||||
ebmon)
|
ebmon)
|
||||||
obj_format=coff
|
obj_format=coff
|
||||||
need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
|
need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
|
||||||
target_cpu=ebmon29k
|
target_cpu=ebmon29k
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
generic) obj_format=generic ;;
|
||||||
|
|
||||||
hds)
|
hds)
|
||||||
obj_format=ieee
|
obj_format=ieee
|
||||||
need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
|
need_bfd="$(unsubdir)/../bfd$(subdir)/libbfd.a"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
bout*)
|
coff* | sysv*) obj_format=coff ;;
|
||||||
obj_format=bout
|
|
||||||
;;
|
*)
|
||||||
bsd* | sunos* | *)
|
case ${target_vendor} in
|
||||||
obj_format=aout
|
aout) obj_format=aout ;;
|
||||||
;;
|
bout) obj_format=bout ;;
|
||||||
generic)
|
coff) obj_format=coff ;;
|
||||||
obj_format=generic
|
*) obj_format=aout ;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# assign floating point type
|
# assign floating point type
|
||||||
case ${target_cpu} in
|
case ${target_cpu} in
|
||||||
vax)
|
vax) atof=vax ;;
|
||||||
atof=vax
|
*) atof=ieee ;;
|
||||||
;;
|
|
||||||
*)
|
|
||||||
atof=ieee
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# and target makefile frag
|
# and target makefile frag
|
||||||
|
|
||||||
target_makefile_frag=config/tmake-${target_cpu}
|
target_makefile_frag=config/mt-${target_cpu}
|
||||||
|
|
||||||
|
|
||||||
files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
|
files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \
|
||||||
config/tc-${cpu_type}.h config/te-${emulation}.h \
|
config/tc-${cpu_type}.h config/te-${emulation}.h \
|
||||||
|
Reference in New Issue
Block a user