From: Matthias Braun Date: Sat, 18 Feb 2012 13:09:03 +0000 (+0100) Subject: begnuas: make panic for tls on macho more clear X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=ddf69cf33b438b757104f55c2de521e5c8bdf3b6;p=libfirm begnuas: make panic for tls on macho more clear --- diff --git a/ir/be/begnuas.c b/ir/be/begnuas.c index 63a34b0fa..707196aff 100644 --- 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); } }