http://sourceware.org/bugzilla/show_bug.cgi?id=12882
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-06-13 17:15:11 UTC --- C source to illustrate the problem: --cut here-- extern void abort (void); __thread int tls_ld __attribute__((tls_model("local-dynamic"))) = 1; __thread int tls_ld2 __attribute__((tls_model("local-dynamic"))) = 2; int __attribute__((noinline)) get_ld (void) { return tls_ld + tls_ld2; } int main (void) { int val; val = get_ld (); if (val != 1 + 2) abort (); return 0; } --cut here-- -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils