Commit 81098bc8 authored by Matthias Braun's avatar Matthias Braun
Browse files

ia32: Use correct relocation kind

parent 556c00a1
......@@ -838,7 +838,7 @@ static void build_address(ia32_address_mode_t *am, ir_node *node,
addr->index = noreg_GP;
addr->mem = nomem;
addr->imm = (x86_imm32_t) {
.kind = X86_IMM_ADDR,
.kind = lconst_imm_kind,
.entity = entity,
};
adjust_relocation(&addr->imm);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment