Commit dcea6502 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Unbreak emitting TLS variables in the binary ia32 emitter.

parent f17b937e
......@@ -2093,7 +2093,7 @@ static void bemit_entity(ir_entity *entity, bool entity_sign, int offset,
be_gas_emit_entity(entity);
if (get_entity_owner(entity) == get_tls_type()) {
if (get_entity_visibility(entity) == ir_visibility_external) {
if (!entity_has_definition(entity)) {
be_emit_cstring("@INDNTPOFF");
} else {
be_emit_cstring("@NTPOFF");
......
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