gas: Add md_generic_table_relax_frag
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Dec 2019 19:54:31 +0000 (11:54 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Dec 2019 20:03:45 +0000 (12:03 -0800)
commitb65d68b8d60338a860e169aac3bac54e6bac60db
tree9bd5fc4ee054a924acffb61f3a6a557d2abd4f63
parent7190276c52b9d86a52aae73d3a0f8b56e7a1f4f1
gas: Add md_generic_table_relax_frag

Add md_generic_table_relax_frag for TC_GENERIC_RELAX_TABLE targets so
that a backend can extend relax_frag beyond TC_GENERIC_RELAX_TABLE.

* write.c (md_generic_table_relax_frag): New.  Defined to
relax_frag if not defined.
(relax_segment): Call md_generic_table_relax_frag instead of
relax_frag.
gas/ChangeLog
gas/doc/internals.texi
gas/write.c