Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
2e165080
Commit
2e165080
authored
Sep 29, 2009
by
Christoph Mallon
Browse files
Correct binary emission of TLS entities.
[r26663]
parent
c4304d0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
2e165080
...
...
@@ -2351,6 +2351,14 @@ static void bemit_entity(ir_entity *entity, bool entity_sign, int offset,
set_entity_backend_marked
(
entity
,
1
);
be_gas_emit_entity
(
entity
);
if
(
get_entity_owner
(
entity
)
==
get_tls_type
())
{
if
(
get_entity_visibility
(
entity
)
==
visibility_external_allocated
)
{
be_emit_cstring
(
"@INDNTPOFF"
);
}
else
{
be_emit_cstring
(
"@NTPOFF"
);
}
}
if
(
is_relative
)
{
be_emit_cstring
(
"-."
);
offset
-=
4
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment