summaryrefslogtreecommitdiff
path: root/modules/objfmts/bin/bin-objfmt.c
diff options
context:
space:
mode:
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))) {