This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: wrap function and its caller in the same object file with ld ?


On Mon, 7 Apr 2008, Ian Lance Taylor wrote:
> As you probably know, this is a documented restriction on --wrap.  The
> problem is that on some targets the assembler will fully resolve the
> reference to the wrapped function.  When that happens, there is
> nothing the linker can do.  You have to get the assembler to change
> its behaviour.

Or, if one is bold, edit the compiler output with a script.

Would putting the referees into a distinct
section defeat resolution by assembler?

-- 
Michael   hennebry@web.cs.ndsu.NoDak.edu
"Those parts of the system that you can hit with a hammer (not advised)
are called Hardware;  those program instructions that you can only
curse at are called Software."


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