diff options
author | Nick Clifton <nickc@redhat.com> | 2011-07-28 16:35:48 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-07-28 16:35:48 +0000 |
commit | 9aec20268e477ab268c345b58e6659b622028536 (patch) | |
tree | e84827c981988bae07a7cdd900f0ef257a9c42a7 /gas/dwarf2dbg.c | |
parent | d91a6875d0339cd9e4397b641678f0657c20f395 (diff) | |
download | fsf-binutils-gdb-9aec20268e477ab268c345b58e6659b622028536.zip fsf-binutils-gdb-9aec20268e477ab268c345b58e6659b622028536.tar.gz fsf-binutils-gdb-9aec20268e477ab268c345b58e6659b622028536.tar.bz2 |
* dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
warning.
* doc/as.texinfo (Offset): Document .offset directive.
testsuite/
* gas/elf/warn-2.s: New.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r-- | gas/dwarf2dbg.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 41fd014..31bf310 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -1459,7 +1459,11 @@ out_debug_line (segT line_seg) /* For each section, emit a statement program. */ for (s = all_segs; s; s = s->next) - process_entries (s->seg, s->head->head); + if (SEG_NORMAL (s->seg)) + process_entries (s->seg, s->head->head); + else + as_warn ("dwarf line number information for %s ignored", + segment_name (s->seg)); symbol_set_value_now (line_end); } |