Re: Stop Gas from generating line info or address ranges
authorAlan Modra <amodra@gmail.com>
Tue, 17 Nov 2020 02:11:36 +0000 (12:41 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 18 Nov 2020 13:16:39 +0000 (23:46 +1030)
commit058430b4a1ed7441dfc2e167bfdb9dc89ea9a209
tree9b7ec856174062c736b1255b25f7f7e0edae6621
parent99fabbc9739a87ba3433e66792e93b773896790e
Re: Stop Gas from generating line info or address ranges

* doc/as.texi (.nop): Document optional size arg.
* dwarf2dbg.c (dwarf2_gen_line_info_1): Only check SEC_ALLOC
when ELF.  Warn whenever dwarf line number information is ignored.
* frags.c (frag_offset_ignore_align_p): New function.
* frags.h (frag_offset_ignore_align_p): Declare.
* read.c (s_nop): Extend to support optional size arg.
* testsuite/gas/elf/dwarf2-20.d: Expect warnings, and exact range.
* testsuite/gas/elf/dwarf2-20.s: Emit 16 bytes worth of nops.
* testsuite/gas/m68hc11/indexed12.d: Expect warnings.
gas/ChangeLog
gas/doc/as.texi
gas/dwarf2dbg.c
gas/frags.c
gas/frags.h
gas/read.c
gas/testsuite/gas/elf/dwarf2-20.d
gas/testsuite/gas/elf/dwarf2-20.s
gas/testsuite/gas/m68hc11/indexed12.d