objdump: long run time when using -D -z
authorAlan Modra <amodra@gmail.com>
Fri, 1 May 2020 06:00:12 +0000 (15:30 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 1 May 2020 06:02:36 +0000 (15:32 +0930)
commit60832332244aae2835851aba83f4b705cf29f8a3
tree4d0d3bb514d024c39c9a22195b8aee2ef9c2060b
parenta8acd6eeb6dc2cc5460ece90f90ebe36b56b20ba
objdump: long run time when using -D -z

The zero scan is silly when the result isn't used.

* objdump.c (disassemble_bytes): Don't scan for zeros when
disassembling zeros.  Translate "resuming at file offset" message.
Formatting.  Replace some signed variables with unsigned.
binutils/ChangeLog
binutils/objdump.c