[PATCH] PR28168: [CSKY] Fix stack overflow in disassembler

Alan Modra amodra@gmail.com
Wed Aug 11 05:07:23 GMT 2021


On Tue, Aug 10, 2021 at 11:16:57AM +0800, Lifang Xia wrote:
> PR 28168:
> Stack overflow with a large float. %f is not a goot choice for this.
> %f should be replaced with %.7g.
> 
> gas/
> 	* testsuite/gas/csky/pr28168.d: New testcase for PR 28168.
> 	* testsuite/gas/csky/pr28168.s: Likewise.
> 	* testsuite/gas/csky/v2_float_part2.d: Following the new format.
> 	* opcodes/csky-dis.c (csky_output_operand): %.7g replaces %f.

Looks good.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list