This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/83466] Wrong TLS GD sequence for ILP32
- From: "schwab at linux-m68k dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Dec 2017 21:51:50 +0000
- Subject: [Bug target/83466] Wrong TLS GD sequence for ILP32
- Auto-submitted: auto-generated
- References: <bug-83466-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83466
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
Pasted the wrong sample:
adrp x0, :tlsdesc:ti
ldr w1, [x0, #:tlsdesc_lo12:ti]
add w0, w0, :tlsdesc_lo12:ti
.tlsdesccall ti
blr x1
mrs x1, tpidr_el0
add x0, x1, x0