summaryrefslogtreecommitdiff
path: root/gas/doc/internals.texi
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2001-02-13 21:27:52 +0000
committerIan Lance Taylor <ian@airs.com>2001-02-13 21:27:52 +0000
commit0e73942b3a49392f6dc02e5eb61b91bbd7176c72 (patch)
treef3171725d7e284e3465d0d0633b6c70fd16cb3f7 /gas/doc/internals.texi
parentf373e6c9d6f0a9f96821e63dc17269ce8820e39d (diff)
downloadbinutils-redhat-0e73942b3a49392f6dc02e5eb61b91bbd7176c72.tar.gz
* write.c (is_dnrange): Stop as soon as the address becomes
larger. (relax_frag): Add segment parameter. Only call symbol_get_frag once. Only call is_dnrange if the symbol is in the same segment, and the symbol address is larger. (relax_segment): Pass segment to md_relax_frag and relax_frag. * write.h (relax_frag): Update declaration. * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass it to relax_frag. * config/tc-m32r.c (m32r_relax_frag): Likewise. * config/tc-m32r.h (md_relax_frag): Add segment parameter. (m32r_relax_frag): Update declaration. * config/tc-mips.h (md_relax_frag): Add segment parameter. * config/tc-tic54x.h (md_relax_frag): Likewise. * doc/internals.texi (CPU backend): Update documentation for md_relax_frag.
Diffstat (limited to 'gas/doc/internals.texi')
-rw-r--r--gas/doc/internals.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index a42bc0f50b..5f203ca6dc 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -1166,9 +1166,10 @@ relocations.
@item md_relax_frag
@cindex md_relax_frag
-This macro may be defined to relax a frag. GAS will call this with the frag
-and the change in size of all previous frags; @code{md_relax_frag} should
-return the change in size of the frag. @xref{Relaxation}.
+This macro may be defined to relax a frag. GAS will call this with the
+segment, the frag, and the change in size of all previous frags;
+@code{md_relax_frag} should return the change in size of the frag.
+@xref{Relaxation}.
@item TC_GENERIC_RELAX_TABLE
@cindex TC_GENERIC_RELAX_TABLE