3 .section __libc_freeres_ptrs, "aw", %nobits
5 .section .gnu.warning.gethostbyname
10 .type gethostbyname, @function
21 call __resolv_context_get
26 # 116 "../nss/getXXbyYY.c" 1
34 # 47 "../sysdeps/unix/sysv/linux/x86/lowlevellock.h" 1
35 cmpxchgl
%edx
, lock
(%rip
)
43 leaq buffer_size.12406
(%rip
), %r8
44 leaq buffer
(%rip
), %rcx
45 leaq resbuf.12407
(%rip
), %rdx
54 call __nss_hostname_digits_dots_context
58 movq buffer
(%rip
), %rdx
61 leaq resbuf.12407
(%rip
), %r13
66 movq
%rax
, buffer
(%rip
)
68 movq buffer_size.12406
(%rip
), %rcx
73 call __gethostbyname_r
75 movq buffer
(%rip
), %rdi
79 movq buffer_size.12406
(%rip
), %rax
80 leaq
(%rax
,%rax
), %rsi
81 movq
%rsi
, buffer_size.12406
(%rip
)
86 movq buffer
(%rip
), %rdi
88 movq __libc_errno@gottpoff
(%rip
), %rax
95 # 163 "../nss/getXXbyYY.c" 1
104 call __resolv_context_put
121 movq __libc_h_errno@gottpoff
(%rip
), %rdx
122 movl
%eax
, %fs:(%rdx
)
134 movq $
1024, buffer_size.12406
(%rip
)
137 movq
%rax
, buffer
(%rip
)
145 # 163 "../nss/getXXbyYY.c" 1
146 xchgl
%eax
, lock
(%rip
)
154 leaq lock
(%rip
), %rdi
157 # 163 "../nss/getXXbyYY.c" 1
168 lock cmpxchgl
%edx
, lock
(%rip
)
170 leaq lock
(%rip
), %rdi
171 call __lll_lock_wait_private
174 movq __libc_h_errno@gottpoff
(%rip
), %rax
179 .size gethostbyname, .-gethostbyname
181 .comm resbuf.12407,32,32
182 .local buffer_size.12406
183 .comm buffer_size.12406,8,8
184 .section .gnu.warning.gethostbyname
187 .type __evoke_link_warning_gethostbyname, @object
188 .size __evoke_link_warning_gethostbyname, 137
189 __evoke_link_warning_gethostbyname
:
190 .string "Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking"
191 .section __libc_freeres_ptrs
194 .type buffer, @object
200 .hidden __lll_lock_wait_private
201 .hidden __resolv_context_put
202 .hidden __gethostbyname_r
203 .hidden __nss_hostname_digits_dots_context
204 .hidden __resolv_context_get