diff options
author | Thiemo Seufer <ths@networkno.de> | 2002-05-21 16:03:46 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2002-05-21 16:03:46 +0000 |
commit | 41241523bf023fabf97f1df7b02940347e45cd2f (patch) | |
tree | 95a18210eba2c33a1bca656938becad0e4b6c391 /bfd/elf-bfd.h | |
parent | 458882614b57606f65ae56e2f491a8b66aacdb6f (diff) | |
download | gdb-41241523bf023fabf97f1df7b02940347e45cd2f.zip gdb-41241523bf023fabf97f1df7b02940347e45cd2f.tar.gz gdb-41241523bf023fabf97f1df7b02940347e45cd2f.tar.bz2 |
* elf-bfd.h (elf_backend_emit_relocs): Change prototype to return
an error value.
* elflink.h (elf_link_output_relocs): Likewise. Improve error message.
return with false on error.
(elf_link_input_bfd): Check reloc_emitter return value.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 06661d5..625f11b 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -706,7 +706,7 @@ struct elf_backend_data /* Emit relocations. Overrides default routine for emitting relocs, except during a relocatable link, or if all relocs are being emitted. */ - void (*elf_backend_emit_relocs) + boolean (*elf_backend_emit_relocs) PARAMS ((bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *)); /* Count relocations. Not called for relocatable links |