internals.texi (77298) | internals.texi (78828) |
---|---|
1\input texinfo | 1\input texinfo |
2@c Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 3@c 2001 4@c Free Software Foundation, Inc. |
|
2@setfilename internals.info 3@node Top 4@top Assembler Internals 5@raisesections 6@cindex internals 7 8This chapter describes the internals of the assembler. It is incomplete, but 9it may help a bit. --- 1151 unchanged lines hidden (view full) --- 1161@item md_estimate_size_before_relax 1162@cindex md_estimate_size_before_relax 1163This function returns an estimate of the size of a @code{rs_machine_dependent} 1164frag before any relaxing is done. It may also create any necessary 1165relocations. 1166 1167@item md_relax_frag 1168@cindex md_relax_frag | 5@setfilename internals.info 6@node Top 7@top Assembler Internals 8@raisesections 9@cindex internals 10 11This chapter describes the internals of the assembler. It is incomplete, but 12it may help a bit. --- 1151 unchanged lines hidden (view full) --- 1164@item md_estimate_size_before_relax 1165@cindex md_estimate_size_before_relax 1166This function returns an estimate of the size of a @code{rs_machine_dependent} 1167frag before any relaxing is done. It may also create any necessary 1168relocations. 1169 1170@item md_relax_frag 1171@cindex md_relax_frag |
1169This macro may be defined to relax a frag. GAS will call this with the frag 1170and the change in size of all previous frags; @code{md_relax_frag} should 1171return the change in size of the frag. @xref{Relaxation}. | 1172This macro may be defined to relax a frag. GAS will call this with the 1173segment, the frag, and the change in size of all previous frags; 1174@code{md_relax_frag} should return the change in size of the frag. 1175@xref{Relaxation}. |
1172 1173@item TC_GENERIC_RELAX_TABLE 1174@cindex TC_GENERIC_RELAX_TABLE 1175If you do not define @code{md_relax_frag}, you may define 1176@code{TC_GENERIC_RELAX_TABLE} as a table of @code{relax_typeS} structures. The 1177machine independent code knows how to use such a table to relax PC relative 1178references. See @file{tc-m68k.c} for an example. @xref{Relaxation}. 1179 --- 615 unchanged lines hidden --- | 1176 1177@item TC_GENERIC_RELAX_TABLE 1178@cindex TC_GENERIC_RELAX_TABLE 1179If you do not define @code{md_relax_frag}, you may define 1180@code{TC_GENERIC_RELAX_TABLE} as a table of @code{relax_typeS} structures. The 1181machine independent code knows how to use such a table to relax PC relative 1182references. See @file{tc-m68k.c} for an example. @xref{Relaxation}. 1183 --- 615 unchanged lines hidden --- |