aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-avr.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-04-13 10:44:20 +0930
committerAlan Modra <amodra@gmail.com>2017-04-13 17:07:23 +0930
commit10463f39c79843c2c141481a0781091870695b17 (patch)
tree376da2921bc7cfb861ebfc72ce8b5f3ebd311e24 /bfd/elf32-avr.c
parent4af8774e1559b2a4e098ca0e4fc5daf857c633c1 (diff)
downloadgdb-10463f39c79843c2c141481a0781091870695b17.zip
gdb-10463f39c79843c2c141481a0781091870695b17.tar.gz
gdb-10463f39c79843c2c141481a0781091870695b17.tar.bz2
Missing _bfd_error_handler args
* elf32-arm.c (arm_type_of_stub): Supply missing args to "long branch veneers" error. Fix double space and format message. * elf32-avr.c (avr_add_stub): Do not pass NULL as %B arg. * elf64-ppc.c (tocsave_find): Supply missing %B arg.
Diffstat (limited to 'bfd/elf32-avr.c')
-rw-r--r--bfd/elf32-avr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf32-avr.c b/bfd/elf32-avr.c
index 56b143d..0f6c188 100644
--- a/bfd/elf32-avr.c
+++ b/bfd/elf32-avr.c
@@ -3284,8 +3284,7 @@ avr_add_stub (const char *stub_name,
if (hsh == NULL)
{
/* xgettext:c-format */
- _bfd_error_handler (_("%B: cannot create stub entry %s"),
- NULL, stub_name);
+ _bfd_error_handler (_("cannot create stub entry %s"), stub_name);
return NULL;
}