clarify the purpose of this project
[nyanglibc.git] / locale / localename.s
blob783d754c2f9f9bb988a427eb0e69dede8f759086
1 .text
2 .p2align 4,,15
3 .globl __current_locale_name
4 .hidden __current_locale_name
5 .type __current_locale_name, @function
6 __current_locale_name:
7 movq __libc_tsd_LOCALE@gottpoff(%rip), %rax
8 movslq %edi, %rdi
9 movq %fs:(%rax), %rax
10 movq 128(%rax,%rdi,8), %rax
11 ret
12 .size __current_locale_name, .-__current_locale_name