[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/19968] ld doesn't recognize/handle Tag_ABI_VFP_args attribute va
From: |
t-snider at ti dot com |
Subject: |
[Bug ld/19968] ld doesn't recognize/handle Tag_ABI_VFP_args attribute value of 3 properly |
Date: |
Wed, 20 Apr 2016 16:27:05 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19968
--- Comment #2 from Todd Snider <t-snider at ti dot com> ---
Hi Nick,
I'm using version 4.8.2 of arm-none-eabi-gcc
Here's an example of the error that I am seeing:
%> arm-none-eabi-gcc --specs=rdimon.specs CQ24877.obj -o RV30.out
/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/bin/ld: error:
CQ24877.obj uses VFP register arguments, RV30.out does not
/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/bin/ld: warning:
CQ24877.obj uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of
wchar_t values across objects may fail
/usr/lib/gcc/arm-none-eabi/4.8.2/../../../arm-none-eabi/bin/ld: failed to merge
target specific data of file CQ24877.obj
Which version of the binutils did the patch go into?
Thanks,
Todd
-----Original Message-----
From: nickc at redhat dot com [mailto:address@hidden
Sent: Wednesday, April 20, 2016 6:34 AM
To: Snider, Todd
Subject: [Bug ld/19968] ld doesn't recognize/handle Tag_ABI_VFP_args attribute
value of 3 properly
https://sourceware.org/bugzilla/show_bug.cgi?id=19968
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |nickc at redhat dot com
--- Comment #1 from Nick Clifton <nickc at redhat dot com> --- Hi Todd,
Which version of the binutils are you using ?
It looks like a patch went in a couple of years ago that was supposed to
handle this:
2014-12-25 Thomas Preud'homme <address@hidden>
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Handle new
Tag_ABI_VFP_args value and replace hardcoded values by enum values.
(elf32_arm_post_process_headers): Set e_flags in ELF header as hard
float only when Tag_ABI_VFP_args is 1, using new enum value
AEABI_VFP_args_vfp to check that.
If the problem does exist with the latest binutils sources, then please
could you preoide a full test case so that we can reproduce the problem
locally. (ie linker command line + object files).
Cheers
Nick
--
You are receiving this mail because:
You reported the bug.
--
You are receiving this mail because:
You are on the CC list for the bug.