This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: "md_apply_fix vs. md_apply_fix3"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]