diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-07-08 02:57:50 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-07-08 02:57:50 +0000 |
commit | 76fb6d2f2ff4cbb926a29aec7f2f623ae5dcd0d8 (patch) | |
tree | 030c099ed5ea2e1e711656f4c6b5aa7e6875738a /gas/configure.in | |
parent | 4049609622e9f1c52c6f1a95b32aff84aba29aec (diff) | |
download | gdb-76fb6d2f2ff4cbb926a29aec7f2f623ae5dcd0d8.zip gdb-76fb6d2f2ff4cbb926a29aec7f2f623ae5dcd0d8.tar.gz gdb-76fb6d2f2ff4cbb926a29aec7f2f623ae5dcd0d8.tar.bz2 |
* config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
OBJ_AOUT to ifdef OBJ_ELF.
(md_apply_fix3): When mangling 32 bit PC relative reloc for
BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE
case.
* write.c (fixup_segment): Change special case for i386-coff to
not apply for i386-pe.
* config/obj-coff.c (coff_adjust_section_syms): Only count fixups
which were not done.
(coff_frob_file_after_relocs): Rename from coff_frob_file.
(coff_format_ops): Initialize frob_file_after_relocs field rather
than frob_file field.
* config/obj-coff.h (coff_frob_file): Don't declare.
(coff_frob_file_after_relocs): Declare.
(obj_frob_file): Don't define.
(obj_frob_file_after_relocs): Define.
* configure.in: Set bfd_gas to yes for i386-*-cygwin32.
* configure: Rebuild.
Diffstat (limited to 'gas/configure.in')
-rw-r--r-- | gas/configure.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gas/configure.in b/gas/configure.in index 3c96a28..4d07198 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -78,6 +78,7 @@ changequote([,])dnl case ${cpu} in armeb) cpu_type=arm endian=big ;; arm*) cpu_type=arm endian=little ;; + thumb*) cpu_type=arm endian=little ;; hppa*) cpu_type=hppa ;; changequote(,)dnl i[456]86) cpu_type=i386 ;; @@ -134,7 +135,7 @@ changequote([,])dnl *) targ=arm-lit ;; esac ;; - arm-*-coff) fmt=coff ;; + arm-*-coff | thumb-*-coff) fmt=coff ;; arm-*-riscix*) fmt=aout ;; arm-*-pe) fmt=coff targ=armcoff em=pe ;; @@ -159,6 +160,7 @@ changequote([,])dnl i386-*-bsd*) fmt=aout em=386bsd ;; i386-*-netbsd0.8) fmt=aout em=386bsd ;; i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;; + i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;; i386-*-linux*aout* | i386-*-linuxoldld) fmt=aout em=linux ;; i386-*-linux*coff*) fmt=coff em=linux targ=i386coff ;; @@ -179,7 +181,7 @@ changequote([,])dnl i386-*-msdos*) fmt=aout ;; i386-*-moss*) fmt=elf ;; i386-*-pe) fmt=coff targ=i386coff em=pe ;; - i386-*-cygwin32) fmt=coff targ=i386coff em=pe ;; + i386-*-cygwin32) fmt=coff targ=i386coff em=pe bfd_gas=yes ;; i386-*-*nt) fmt=coff targ=i386coff em=pe ;; i960-*-bout) fmt=bout ;; i960-*-coff) fmt=coff em=ic960 targ=ic960coff ;; @@ -208,6 +210,7 @@ changequote([,])dnl m68k-*-lynxos*) fmt=coff targ=m68kcoff em=lynx ;; m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; + m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; m68k-apple-aux*) fmt=coff targ=m68kcoff em=aux ;; m68k-*-psos*) fmt=elf em=psos;; @@ -216,6 +219,7 @@ changequote([,])dnl # don't change em like *-*-bsd does mips-dec-netbsd*) fmt=elf targ=mips-lit endian=little ;; + mips-dec-openbsd*) fmt=elf targ=mips-lit endian=little ;; mips-dec-bsd*) fmt=aout targ=mips-lit ;; mips-sony-bsd*) fmt=ecoff targ=mips-big ;; mips-*-bsd*) AC_MSG_ERROR(Unknown vendor for mips-bsd configuration.) ;; @@ -252,7 +256,7 @@ changequote([,])dnl ;; ppc-*-aix*) fmt=coff ;; ppc-*-beos*) fmt=coff ;; - ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*) + ppc-*-*bsd* | ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*) fmt=elf case "$endian" in big) targ=ppc-big ;; @@ -287,6 +291,7 @@ changequote([,])dnl ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; + ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;; sparc-*-rtems*) fmt=aout ;; sparc-*-sunos4*) fmt=aout em=sun3 ;; @@ -300,6 +305,7 @@ changequote([,])dnl sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*) fmt=elf ;; sparc-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; + sparc-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; # start-sanitize-tic80 tic80-*-*) fmt=coff targ=tic80coff;; |