projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f598fd5
)
Set bfd_error to no_symbols if the symbols could not be read.
author
Nick Clifton
<nickc@redhat.com>
Thu, 22 Aug 2002 16:12:00 +0000
(16:12 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Thu, 22 Aug 2002 16:12:00 +0000
(16:12 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/syms.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index d9fef30273302d4abd818a5876262a6db8e360b9..d0e9ad6a42cf58aaca286b3259784e547573198a 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2002-08-22 Nick Clifton <nickc@redhat.com>
+
+ * syms.c (_bfd_generic_read_minisymbols): Set bfd_error if the
+ symbols are not read.
+
2002-08-22 Alan Modra <amodra@bigpond.net.au>
* elf32-m68hc11.c: Formatting fixes.
diff --git
a/bfd/syms.c
b/bfd/syms.c
index 8a8abf45387bc4f90ee8fb44127a423c6b3f351d..6eea2d807dfb5ed4151fe1a54ca3c7ef38486801 100644
(file)
--- a/
bfd/syms.c
+++ b/
bfd/syms.c
@@
-806,6
+806,7
@@
_bfd_generic_read_minisymbols (abfd, dynamic, minisymsp, sizep)
return symcount;
error_return:
+ bfd_set_error (bfd_error_no_symbols);
if (syms != NULL)
free (syms);
return -1;