diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-10-06 07:40:44 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-10-06 07:40:44 +0000 |
commit | fdaf8fafded653cca0486bca48c3d8e3937bbd66 (patch) | |
tree | 74ec64bc3b0ce6e3865e2994e2c27b9b802f41c3 /bfd | |
parent | 553e0619e7621ec790fe04cf3776b6523096a22b (diff) | |
download | binutils-redhat-fdaf8fafded653cca0486bca48c3d8e3937bbd66.tar.gz |
* bfd.c (bfd_assert): Report bfd version.
(_bfd_abort): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 3 | ||||
-rw-r--r-- | bfd/bfd.c | 11 |
2 files changed, 9 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2d18b6c83b..dc4a5d71e9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ 2001-10-06 Alan Modra <amodra@bigpond.net.au> + * bfd.c (bfd_assert): Report bfd version. + (_bfd_abort): Likewise. + * elflink.h (elf_link_input_bfd): Don't zero discarded link-once section sym values. Instead replace any relocs against them with relocs against STN_UNDEF, which has a zero value. @@ -697,7 +697,8 @@ bfd_assert (file, line) const char *file; int line; { - (*_bfd_error_handler) (_("bfd assertion fail %s:%d"), file, line); + (*_bfd_error_handler) (_("BFD %s assertion fail %s:%d"), + BFD_VERSION_STRING, file, line); } /* A more or less friendly abort message. In libbfd.h abort is @@ -715,12 +716,12 @@ _bfd_abort (file, line, fn) { if (fn != NULL) (*_bfd_error_handler) - (_("BFD internal error, aborting at %s line %d in %s\n"), - file, line, fn); + (_("BFD %s internal error, aborting at %s line %d in %s\n"), + BFD_VERSION_STRING, file, line, fn); else (*_bfd_error_handler) - (_("BFD internal error, aborting at %s line %d\n"), - file, line); + (_("BFD %sinternal error, aborting at %s line %d\n"), + BFD_VERSION_STRING, file, line); (*_bfd_error_handler) (_("Please report this bug.\n")); xexit (EXIT_FAILURE); } |