$NetBSD: patch-ad,v 1.2 2007/05/29 12:25:04 martti Exp $ --- gas/configure.tgt.orig 2006-04-05 15:41:57.000000000 +0300 +++ gas/configure.tgt 2007-05-29 14:42:07.000000000 +0300 @@ -191,7 +191,7 @@ i386-*-freebsdaout*) fmt=aout em=386bsd ;; i386-*-freebsd[12].*) fmt=aout em=386bsd ;; i386-*-freebsd[12]) fmt=aout em=386bsd ;; - i386-*-freebsd* | i386-*-kfreebsd*-gnu) + i386-*-freebsd* | i386-*-kfreebsd*-gnu | i386-*-dragonfly*) fmt=elf em=freebsd ;; i386-*-sysv*) fmt=coff ;; i386-*-sco3.2v5*coff) fmt=coff ;; @@ -382,6 +382,7 @@ *-*-aout | *-*-scout) fmt=aout ;; *-*-freebsd* | *-*-kfreebsd*-gnu) fmt=elf em=freebsd ;; + *-*-dragonfly*) fmt=elf em=freebsd ;; *-*-bsd*) fmt=aout em=sun3 ;; *-*-generic) fmt=generic ;; *-*-xray | *-*-hms) fmt=coff ;;