RX Assembler: Ensure that the internal limit on the number of relaxation iterations...
authorNick Clifton <nickc@redhat.com>
Fri, 19 Apr 2019 09:39:47 +0000 (10:39 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 19 Apr 2019 09:39:47 +0000 (10:39 +0100)
commit5ce032bdfc60a8f44f6307b2297384c852100f95
treecaba4efd415ea2d34cef2332481458b8b8f377db
parentfce9773608d45757dfb26ef7783f37d432ae9a88
RX Assembler: Ensure that the internal limit on the number of relaxation iterations is not larger that the external limit.

PR 24464
* config/tc-rx.h (md_relax_frag): Pass the max_iterations variable
to the relaxation function.
* config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum
number of iterations.  Make sure that our internal iteration limit
does not exceed this external iteration limit.
gas/ChangeLog
gas/config/tc-rx.c
gas/config/tc-rx.h