This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Passing 64-bit function arguments to assembler


On 10/12/2012 10:55 AM, Mischa Baars wrote:

As can be seen from the objdump output, 64-bit arguments are passed in
32-bit registers

x86_64 clears the upper 32 bit of a 64 bit register if the lower 32 bit are written to, so this isn't a bug.


--
Florian Weimer / Red Hat Product Security Team


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