Subject: toolchain/19906: as(1) has the wrong "default" FP format
To: None <>
From: Nick Hudson <>
List: netbsd-bugs
Date: 01/18/2003 15:19:26
>Number:         19906
>Category:       toolchain
>Synopsis:       as(1) has the wrong "default" FP format
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 18 07:24:00 PST 2003
>Originator:     Nick Hudson
>Release:        NetBSD 1.6L
System: NetBSD legless 1.6L NetBSD 1.6L (GENERIC) #0: Thu Jan 9 12:27:25 GMT 2003 nick@kenny:/dsk/obj.cats/home/nick/work/netbsd/nathanw_sa/src/sys/arch/cats/compile/GENERIC cats
Architecture: arm
Machine: cats

	While building an o4p wonka I get

	/usr/bin/ld: Error: strlen.o uses FPA instructions, whereas /home/nick/work/wonka/trees/o4p/open-wonka/build-arm-netbsd/wonka/bin/wonka uses VFP instructions

	strlen is built using as(1).

	$ echo > foo.c
	$ cc -S foo.c
	$ as -o foo.o foo.s
	$ objdump -x foo.o | grep "float format"
	private flags = 0: [APCS-32] [FPA float format]
	tweak gnu/dist/toolchain/gas/config/tc-arm.c?