"md_apply_fix vs. md_apply_fix3"

amodra@one.net.au amodra@one.net.au
Tue May 22 19:15:00 GMT 2001


On Tue, May 22, 2001 at 05:30:46PM -0700, Xinan Tang wrote:
>   Could someone tell me what is difference between these two
> functions in `as':
> 
>    md_apply_fix() and md_apply_fix3()

md_apply_fix3 has three arguments, md_apply_fix has two.  :-)

>   Why do some targets have md_apply_fix3 and some others do not?

md_apply_fix was the original function.  At some time it became
necessary to pass the section of the fixup to md_apply_fix, and
instead of changing all back-end md_apply_fix functions, the author
of the change decided to introduce a new macro and function.  I
think it would have been cleaner to change all the md_apply_fix
functions.  Please use md_apply_fix3 for new targets.

-- 
Alan Modra



More information about the Binutils mailing list