diff --git a/src/runtime/syscall2_solaris.go b/src/runtime/syscall2_solaris.go index df72996da0b..e19035add95 100644 --- a/src/runtime/syscall2_solaris.go +++ b/src/runtime/syscall2_solaris.go @@ -9,9 +9,6 @@ import _ "unsafe" // for go:linkname //go:cgo_import_dynamic libc_chdir chdir "libc.so" //go:cgo_import_dynamic libc_chroot chroot "libc.so" //go:cgo_import_dynamic libc_close close "libc.so" -//go:cgo_import_dynamic libc_dlclose dlclose "libc.so" -//go:cgo_import_dynamic libc_dlopen dlopen "libc.so" -//go:cgo_import_dynamic libc_dlsym dlsym "libc.so" //go:cgo_import_dynamic libc_execve execve "libc.so" //go:cgo_import_dynamic libc_fcntl fcntl "libc.so" //go:cgo_import_dynamic libc_gethostname gethostname "libc.so" @@ -30,9 +27,6 @@ import _ "unsafe" // for go:linkname //go:linkname libc_chdir libc_chdir //go:linkname libc_chroot libc_chroot //go:linkname libc_close libc_close -//go:linkname libc_dlclose libc_dlclose -//go:linkname libc_dlopen libc_dlopen -//go:linkname libc_dlsym libc_dlsym //go:linkname libc_execve libc_execve //go:linkname libc_fcntl libc_fcntl //go:linkname libc_gethostname libc_gethostname diff --git a/src/syscall/asm_solaris_amd64.s b/src/syscall/asm_solaris_amd64.s index cc69caa7d2e..2547cdbef55 100644 --- a/src/syscall/asm_solaris_amd64.s +++ b/src/syscall/asm_solaris_amd64.s @@ -23,15 +23,6 @@ TEXT ·chroot1(SB),NOSPLIT,$0 TEXT ·close(SB),NOSPLIT,$0 JMP runtime·syscall_close(SB) -TEXT ·dlopen(SB),NOSPLIT,$0 - JMP runtime·syscall_dlopen(SB) - -TEXT ·dlclose(SB),NOSPLIT,$0 - JMP runtime·syscall_dlclose(SB) - -TEXT ·dlsym(SB),NOSPLIT,$0 - JMP runtime·syscall_dlsym(SB) - TEXT ·execve(SB),NOSPLIT,$0 JMP runtime·syscall_execve(SB)