0

In Linux 3.16, in asm/x86/kernel/entry_64.S, the following line references RAX-ARGOFFSET (also see [src]):

424         movq %rax,RAX-ARGOFFSET(%rsp)

But I can not find where RAX-ARGOFFSET is defined in anywhere in the linux source tree.?

  • lkml.org/lkml/2015/1/14/896 mey lead to an answer. Looks like there was a massive cleanup of ARGOFFSET usage... – yeti Jul 22 '15 at 17:16
  • In 3.16 (which is my working version), since it is referenced, it must be defined somewhere in the same version, right? (even it is set to zero).. – Richard Jul 22 '15 at 17:21
1

RAX and ARGOFFSET are defined in calling.h, lines 70 and 85 respectively.

  • oh, it's not dash, it's a minus ... – Richard Jul 22 '15 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.