BR 1828103: Fix %arg and %local
commit8781cb0d0054620ccc3670292fe1ab8ccb5bc1c2
authorH. Peter Anvin <hpa@zytor.com>
Fri, 9 Nov 2007 04:01:11 +0000 (8 20:01 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 9 Nov 2007 04:01:11 +0000 (8 20:01 -0800)
treee38d967d1017bf43d84b76a37a9f7acf510657ac
parent52bd38b899ed03dee25aea931c0908354b4ae6a6
BR 1828103: Fix %arg and %local

Correct the implementation of %arg and %local.

It's questionable how much they make sense for 64-bit mode; even in
32-bit mode one normally make references off the stack pointer instead
of the base pointer (frame pointer), but that requires keeping track
of the stack pointer offset.
preproc.c
test/local.asm [new file with mode: 0644]