aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/internals.texi
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2019-12-12 11:54:31 -0800
committerH.J. Lu <hjl.tools@gmail.com>2019-12-12 12:03:45 -0800
commitb65d68b8d60338a860e169aac3bac54e6bac60db (patch)
tree9bd5fc4ee054a924acffb61f3a6a557d2abd4f63 /gas/doc/internals.texi
parent7190276c52b9d86a52aae73d3a0f8b56e7a1f4f1 (diff)
downloadgdb-b65d68b8d60338a860e169aac3bac54e6bac60db.zip
gdb-b65d68b8d60338a860e169aac3bac54e6bac60db.tar.gz
gdb-b65d68b8d60338a860e169aac3bac54e6bac60db.tar.bz2
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.
Diffstat (limited to 'gas/doc/internals.texi')
-rw-r--r--gas/doc/internals.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index a50880d..cb86b5b 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -1210,6 +1210,11 @@ If you do not define @code{md_relax_frag}, you may define
machine independent code knows how to use such a table to relax PC relative
references. See @file{tc-m68k.c} for an example. @xref{Relaxation}.
+@item md_generic_table_relax_frag
+@cindex md_generic_table_relax_frag
+If defined, it is a C statement that is invoked, instead of
+the default implementation, to scan @code{TC_GENERIC_RELAX_TABLE}.
+
@item md_prepare_relax_scan
@cindex md_prepare_relax_scan
If defined, it is a C statement that is invoked prior to scanning