assemble: for OUT_REL*ADR, the "size" argument is not really size...
commit0a20bcfaf17fc78e97fc609bb60087529df79eea
authorH. Peter Anvin <hpa@zytor.com>
Sat, 18 Oct 2008 06:29:11 +0000 (17 23:29 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 18 Oct 2008 06:29:11 +0000 (17 23:29 -0700)
treeccc218633a953026eb81849bbc81193626bb6465
parent93c7aa23028c53e6ebf43861d2c778fb01fa895a
assemble: for OUT_REL*ADR, the "size" argument is not really size...

For OUT_REL*ADR, the "size" argument is actually the offset inside the
instruction; that is in fact why we encode the real size in the
instruction itself.  Thus, emit the offsets properly using this
mechanism when generating relative EAs.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
assemble.c