#define LDSO_STUBIFY(fct) \\
.text ; \\
.align 4 ; \\
-.globl ldso_stub___ ## fct ; \\
-ldso_stub___ ## fct: ; \\
+.globl _ldso_stub___ ## fct ; \\
+_ldso_stub___ ## fct: ; \\
jmp L ## fct ## $stub ; \\
.section __IMPORT,__jump_table,symbol_stubs,self_modifying_code+pure_instructions,5 ; \\
L ## fct ## $stub: ; \\
#!+(and darwin x86-64) "
#define LDSO_STUBIFY(fct) \\
.align 4 ; \\
-.globl ldso_stub___ ## fct ; \\
-ldso_stub___ ## fct: ; \\
+.globl _ldso_stub___ ## fct ; \\
+_ldso_stub___ ## fct: ; \\
jmp _ ## fct ; \\
.L ## fct ## e1: ; "
;; #!-linkage-table, as we only need these stubs if
;; we don't have linkage-table. Done this way now to
;; cut down on the number of ports affected.
- #!-(or win32 darwin freebsd)
+ #!-(or win32 darwin freebsd netbsd)
'("ptsname"
"grantpt"
"unlockpt")