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: Linker magic for aliases an external symbol... how to?


> On Sep 2, 2016, at 9:53 PM, Alan Modra <amodra@gmail.com> wrote:
> 
> On Thu, Sep 01, 2016 at 09:29:14PM -0600, Philip Prindeville wrote:
>> What would the assembler look like to have an entry point called "logmsg"
>> which jumps (not calls, i.e. no push of a return address) to syslog()?
> 
> It will vary depending on processor and ABI.
> 

This is x86 and AMD64 and standard C calling conventions.



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