From: Ken Raeburn Date: Thu, 1 Jun 1995 22:28:54 +0000 (+0000) Subject: arm config fix from Richard Earnshaw X-Git-Tag: gdb-4_18~11708 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cb0d00d8fdfdf32c5f575f98d50ee002fbc710e;p=platform%2Fupstream%2Fbinutils.git arm config fix from Richard Earnshaw --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 960133f..3ef6d69 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -6,6 +6,11 @@ Wed 31 May 17:49:18 1995 Pat Rankin (rankin@eql.caltech.edu) (vms_write_object_file (GSD symbol loop, case N_DATA)): Never output symbol definitions for local numeric labels. +Tue May 30 18:29:10 1995 Richard Earnshaw (rearnsha@armltd.co.uk) + + * configure.in (architecture variants, cases armeb and arm*): Remove + spaces round assignment to endian. + Tue May 30 12:31:31 1995 Ken Raeburn * write.c (write_object_file): Check for undefined local dollar diff --git a/gas/configure b/gas/configure index 6a888a2..f6e581a 100755 --- a/gas/configure +++ b/gas/configure @@ -554,6 +554,8 @@ te_file=generic # check for architecture variants case ${target_cpu} in + armeb) cpu_type=arm endian=big ;; + arm*) cpu_tpye=arm endian=little ;; hppa*) cpu_type=hppa ;; i[45]86) cpu_type=i386 ;; m680[012346]0) cpu_type=m68k ;; @@ -662,7 +664,16 @@ for this_target in $target $canon_targets ; do arc-*-elf*) fmt=elf bfd_gas=yes ;; # end-sanitize-arc + arm-*-riscix*) fmt=aout targ=arm-lit + emulation=riscix ;; + arm-*-aout) fmt=aout + case "$endian" in + big) targ=arm-big ;; + *) targ=arm-lit ;; + esac + ;; arm-*-riscix*) fmt=aout ;; + arm-*-pe) fmt=coff targ=armcoff em=pe ;; hppa-*-*elf*) fmt=elf em=hppa ;; hppa-*-lites*) fmt=elf em=hppa ;; @@ -694,7 +705,8 @@ for this_target in $target $canon_targets ; do i386-*-mach* | i386-*-gnu*) fmt=aout em=mach bfd_gas=yes ;; i386-*-msdos*) fmt=aout ;; - + i386-*-pe) fmt=coff targ=i386coff em=pe ;; + i386-*-*nt) fmt=coff targ=i386coff em=pe ;; i960-*-bout) fmt=bout ;; i960-*-coff) fmt=coff em=ic960 targ=ic960coff ;; i960-*-nindy*) fmt=bout ;; @@ -834,14 +846,14 @@ for this_target in $target $canon_targets ; do # From target name and format, produce a list of supported emulations. case ${generic_target}-${fmt} in - mips-*-irix5*-*) emulation="mipsbelf mipslelf mipsbecoff mipslecoff" ;; + mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;; mips-*-*-ecoff) case "$endian" in - big) emulation="mipsbecoff mipslecoff" ;; - *) emulation="mipslecoff mipsbecoff" ;; + big) emulation="mipsbecoff mipslecoff mipsecoff" ;; + *) emulation="mipslecoff mipsbecoff mipsecoff" ;; esac ;; mips-*-*-elf) case "$endian" in - big) emulation="mipsbelf mipslelf" ;; - *) emulation="mipslelf mipsbelf" ;; + big) emulation="mipsbelf mipslelf mipself" ;; + *) emulation="mipslelf mipsbelf mipself" ;; esac ;; esac @@ -1213,7 +1225,7 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error @@ -1227,7 +1239,7 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error @@ -1258,7 +1270,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@ -1310,7 +1322,7 @@ else ac_cv_c_cross=yes else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext < int main() { return 0; } @@ -1364,7 +1376,7 @@ if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext < #include @@ -1695,7 +1707,7 @@ if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext <