aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2007-07-26 11:05:23 +0000
committerThiemo Seufer <ths@networkno.de>2007-07-26 11:05:23 +0000
commitc2c966314bffced41c51b7bd0562c1d7a5c679ea (patch)
tree212fc935db4061eb9534638acb83195b5f9dfbd8
parent9ceb0b4c1da57bed5ba5af056185f448fdc79f43 (diff)
downloadgdb-c2c966314bffced41c51b7bd0562c1d7a5c679ea.zip
gdb-c2c966314bffced41c51b7bd0562c1d7a5c679ea.tar.gz
gdb-c2c966314bffced41c51b7bd0562c1d7a5c679ea.tar.bz2
* bfd.c (_bfd_set_gp_value): Use abort instead of BFD_FAIL.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/bfd.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index dc021fa..53bfe0d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-26 Thiemo Seufer <ths@mips.com>
+
+ * bfd.c (_bfd_set_gp_value): Use abort instead of BFD_FAIL.
+
2007-07-26 Alan Modra <amodra@bigpond.net.au>
* reloc.c (bfd_generic_get_relocated_section_contents): Avoid
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 2c5a429..60ad118 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1020,7 +1020,7 @@ void
_bfd_set_gp_value (bfd *abfd, bfd_vma v)
{
if (! abfd)
- BFD_FAIL ();
+ abort ();
if (abfd->format != bfd_object)
return;