aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2010-02-08 07:09:39 +0000
committerNathan Sidwell <nathan@codesourcery.com>2010-02-08 07:09:39 +0000
commitdeddc40bec6db30c02fa73f1e83619bc62c87196 (patch)
tree9046011bbb73a01b5633dfd5d5ae80ea9fe829b1 /bfd/elf32-arm.c
parent46763423272ad989de7cec67954f0c083f0eb82b (diff)
downloadgdb-deddc40bec6db30c02fa73f1e83619bc62c87196.zip
gdb-deddc40bec6db30c02fa73f1e83619bc62c87196.tar.gz
gdb-deddc40bec6db30c02fa73f1e83619bc62c87196.tar.bz2
bfd/
* elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty apuinfo sections, only scan input sections once and reuse the buffer. ld/testsuite/ * ld-powerpc/apuinfo-nul.s: New. * ld-powerpc/apuinfo.rd: Add it. * ld-powerpc/powerpc.exp: Likewise.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 470e495..8f8d32c 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -9831,7 +9831,8 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
{
_bfd_error_handler
(_("error: %B uses VFP register arguments, %B does not"),
- ibfd, obfd);
+ in_attr[Tag_ABI_VFP_args].i ? ibfd : obfd,
+ in_attr[Tag_ABI_VFP_args].i ? obfd : ibfd);
result = FALSE;
}
}