diff options
| author | Warner Losh <imp@FreeBSD.org> | 2015-05-03 22:51:29 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2015-05-03 22:51:29 +0000 |
| commit | f321ea7845c92a46d32075c3712199b786bdabac (patch) | |
| tree | 085a15e8e0efe0743904813b4bf0a2e270e4a009 /contrib/binutils | |
| parent | 3d9089a6f1c61a8a34a7e764ac96377eb164a1ff (diff) | |
Notes
Diffstat (limited to 'contrib/binutils')
| -rw-r--r-- | contrib/binutils/bfd/elf32-arm.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/elf32-arm.c b/contrib/binutils/bfd/elf32-arm.c index 4d7b4866c9e6b..31cf5267e32b5 100644 --- a/contrib/binutils/bfd/elf32-arm.c +++ b/contrib/binutils/bfd/elf32-arm.c @@ -6794,9 +6794,22 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd) out_attr[Tag_ABI_VFP_args].i = in_attr[Tag_ABI_VFP_args].i; else if (in_attr[Tag_ABI_FP_number_model].i != 0) { + bfd *hasbfd, *hasnotbfd; + + if (in_attr[Tag_ABI_VFP_args].i) + { + hasbfd = ibfd; + hasnotbfd = obfd; + } + else + { + hasbfd = obfd; + hasnotbfd = ibfd; + } + _bfd_error_handler (_("ERROR: %B uses VFP register arguments, %B does not"), - ibfd, obfd); + hasbfd, hasnotbfd); return FALSE; } } |
