summaryrefslogtreecommitdiff
path: root/modules/objfmts/bin/bin-objfmt.c
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2006-11-27 03:37:59 +0000
committerPeter Johnson <peter@tortall.net>2006-11-27 03:37:59 +0000
commitb89c881496596258b72fdc5fba5b52036b87ac0a (patch)
tree1fcf7747ed924fe358676e7af453ce5dd5a89185 /modules/objfmts/bin/bin-objfmt.c
parent26c808a82f50edfa0c1208ee1c510b35c8db8d49 (diff)
downloadyasm-b89c881496596258b72fdc5fba5b52036b87ac0a.tar.gz
Remove YASM_EXPR_SYMREC hack; it's no longer used due to changes in
absolute section reference expansion. svn path=/trunk/yasm/; revision=1702
Diffstat (limited to 'modules/objfmts/bin/bin-objfmt.c')
-rw-r--r--modules/objfmts/bin/bin-objfmt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/objfmts/bin/bin-objfmt.c b/modules/objfmts/bin/bin-objfmt.c
index 5ebea8c6..454d35d7 100644
--- a/modules/objfmts/bin/bin-objfmt.c
+++ b/modules/objfmts/bin/bin-objfmt.c
@@ -112,8 +112,7 @@ bin_objfmt_expr_xform(/*@returned@*/ /*@only@*/ yasm_expr *e,
/* Transform symrecs that reference sections into
* start expr + intnum(dist).
*/
- if ((e->terms[i].type == YASM_EXPR_SYM ||
- e->terms[i].type == YASM_EXPR_SYMEXP) &&
+ if (e->terms[i].type == YASM_EXPR_SYM &&
yasm_symrec_get_label(e->terms[i].data.sym, &precbc) &&
(sect = yasm_bc_get_section(precbc)) &&
(dist = yasm_calc_bc_dist(yasm_section_bcs_first(sect), precbc))) {