Linaro arm linux gnueabihf gcc always add Tag_FP_arch: VFPv3-D16 when building .S file with -mfloat-abi=soft
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have a ASM file with extension .S
After I build this file with option
"-marm -march=armv4t -mfloat-abi=soft -c xxx.S -o xxx.o"
I checked xxx.o with command "arm-linux-
And the output is
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "4t"
Tag_CPU_arch: v4T
Tag_ARM_ISA_use: Yes
Tag_THUMB_
Tag_FP_arch: VFPv3-D16
I noticed tag " Tag_FP_arch: VFPv3-D16", this tag prevents this xxx.o from linking with other .o files.
However, when building .c or .cpp files, the generated .o files don't have " Tag_FP_arch: VFPv3-D16"
It seems that AS doen't respect option "-mfloat-abi=soft" and always add "Tag_FP_arch: VFPv3-D16" to the genrated .o files
description: | updated |
Changed in gcc-linaro: | |
status: | New → Invalid |
Can you attach your .S file for us to reproduce the issue?
If your .S is writen with hard float ABI, I think there is no way for AS to change your code.