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:
b417536
)
Add a missing line to _bfd_generic_get_section_contents_in_window
author
H.J. Lu
<hjl.tools@gmail.com>
Mon, 26 Jun 2017 22:47:16 +0000
(15:47 -0700)
committer
H.J. Lu
<hjl.tools@gmail.com>
Mon, 26 Jun 2017 22:47:16 +0000
(15:47 -0700)
PR binutils/21665
* libbfd.c (_bfd_generic_get_section_contents_in_window): Add
a missing line.
bfd/ChangeLog
patch
|
blob
|
history
bfd/libbfd.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index cd5cb579d128e6f9e132a60f60933d6d82b900f9..fbe20499b9666926ef172553b36346cf6fcc2d78 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,9
@@
+2017-06-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/21665
+ * libbfd.c (_bfd_generic_get_section_contents_in_window): Add
+ a missing line.
+
2017-06-26 Maciej W. Rozycki <macro@imgtec.com>
* cpu-mips.c (arch_info_struct): Mark the 4010 32-bit.
diff --git
a/bfd/libbfd.c
b/bfd/libbfd.c
index b903328cedea62220d2a6ac5cad2a06cd81e0b01..7b270efeb75ff8eb4ed221e8a8cd603a5fc6e13c 100644
(file)
--- a/
bfd/libbfd.c
+++ b/
bfd/libbfd.c
@@
-877,6
+877,7
@@
_bfd_generic_get_section_contents_in_window
else
sz = section->size;
filesz = bfd_get_file_size (abfd);
+ if (filesz < 0)
{
/* This should never happen. */
abort ();