fix getaddrinfo regression with AI_ADDRCONFIG on some configurations
[musl.git] / src / thread / s390x / __set_thread_area.s
blob00a11e25444c27354425cc3541def7f4cae8e5e5
1 .text
2 .global __set_thread_area
3 .hidden __set_thread_area
4 .type __set_thread_area, %function
5 __set_thread_area:
6 sar %a1, %r2
7 srlg %r2, %r2, 32
8 sar %a0, %r2
9 lghi %r2, 0
10 br %r14