diff options
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 2ca3205..11c22ab 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -4265,6 +4265,9 @@ coff_slurp_line_table (bfd *abfd, asection *asect) bfd_boolean have_func; bfd_boolean ret = TRUE; + if (asect->lineno_count == 0) + return TRUE; + BFD_ASSERT (asect->lineno == NULL); if (asect->lineno_count > asect->size) |