svn commit: r1561 - in branches/new-optimizer: libyasm
peter at tortall.net
peter at tortall.net
Sat Jun 10 01:00:18 PDT 2006
Author: peter
Date: Sat Jun 10 01:00:14 2006
New Revision: 1561
Modified:
branches/new-optimizer/libyasm/section.c
branches/new-optimizer/libyasm/value.c
branches/new-optimizer/libyasm/value.h
branches/new-optimizer/modules/arch/x86/x86arch.h
branches/new-optimizer/modules/arch/x86/x86bc.c
branches/new-optimizer/modules/arch/x86/x86expr.c
branches/new-optimizer/modules/arch/x86/x86id.c
Changeset:
http://www.tortall.net/projects/yasm/changeset/1561
Log:
Fix all tests with miscomparing object files. Dramatically clean up some
x86 code (mainly x86_checkea_calc_displen(), and parts of
x86_bc_insn_calc_len()) to use new yasm_value_get_intnum().
Allow NULL to be passed as bc to yasm_value_get_intnum() to prevent
calculation of PC-relative values (returning NULL instead).
More information about the yasm-cvs
mailing list