PR27071, gas bugs uncovered by fuzzing
authorAlan Modra <amodra@gmail.com>
Tue, 15 Dec 2020 11:24:09 +0000 (21:54 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 15 Dec 2020 14:43:58 +0000 (01:13 +1030)
commit7bed846687589e1346626e8bc9f2948340ef454b
tree4b656167da9efec90ae7711faf78e32f36762099
parent9f132af9e189a6c1e90b1ab7ed84c6613c8ac596
PR27071, gas bugs uncovered by fuzzing

PR 27071
* config/obj-elf.c (elf_obj_symbol_clone_hook): New function.
(elf_format_ops): Set symbol_clone_hook.
* config/obj-elf.h (elf_obj_symbol_clone_hook): Declare.
(obj_symbol_clone_hook): Define.
* listing.c (buffer_line): Avoid integer overflow on paper_width
set to zero.
gas/ChangeLog
gas/config/obj-elf.c
gas/config/obj-elf.h
gas/listing.c