diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2010-02-08 07:09:39 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2010-02-08 07:09:39 +0000 |
commit | deddc40bec6db30c02fa73f1e83619bc62c87196 (patch) | |
tree | 9046011bbb73a01b5633dfd5d5ae80ea9fe829b1 /bfd/elf32-arm.c | |
parent | 46763423272ad989de7cec67954f0c083f0eb82b (diff) | |
download | gdb-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.c | 3 |
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; } } |