projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
50fcbd2
)
begnuas: make panic for tls on macho more clear
author
Matthias Braun
<matze@braunis.de>
Sat, 18 Feb 2012 13:09:03 +0000
(14:09 +0100)
committer
Matthias Braun
<matze@braunis.de>
Sat, 18 Feb 2012 13:09:03 +0000
(14:09 +0100)
ir/be/begnuas.c
patch
|
blob
|
history
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
63a34b0
..
707196a
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-102,8
+102,10
@@
static void emit_section_macho(be_gas_section_t section)
case GAS_SECTION_CSTRING: name = "section __TEXT,__const_coal,coalesced"; break;
default: panic("unsupported scetion type 0x%X", section);
}
+ } else if (flags & GAS_SECTION_FLAG_TLS) {
+ panic("thread local storage not supported on macho (section 0x%X)", section);
} else {
- panic("unsupported section type 0x%X
\n
", section);
+ panic("unsupported section type 0x%X", section);
}
}