projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc78d8
)
panic if TLS is found in sparc backend
author
Matthias Braun
<matze@braunis.de>
Wed, 13 Apr 2011 13:01:29 +0000
(15:01 +0200)
committer
Matthias Braun
<matze@braunis.de>
Wed, 13 Apr 2011 13:10:04 +0000
(15:10 +0200)
ir/be/sparc/sparc_transform.c
patch
|
blob
|
history
diff --git
a/ir/be/sparc/sparc_transform.c
b/ir/be/sparc/sparc_transform.c
index
5d57dc7
..
06c8913
100644
(file)
--- a/
ir/be/sparc/sparc_transform.c
+++ b/
ir/be/sparc/sparc_transform.c
@@
-903,6
+903,9
@@
static ir_node *make_address(dbg_info *dbgi, ir_node *block, ir_entity *entity,
{
ir_node *hi = new_bd_sparc_SetHi(dbgi, block, entity, offset);
ir_node *low = new_bd_sparc_Or_imm(dbgi, block, hi, entity, offset);
+
+ if (get_entity_owner(entity) == get_tls_type())
+ panic("thread local storage not supported yet in sparc backend");
return low;
}