]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/syscall/mksyscall.pl
[dev.regabi] all: merge master (fca94ab) into dev.regabi
[gostls13.git] / src / syscall / mksyscall.pl
index 67e8d1d99efc02c93488dbea947ebd81c2a498a6..c1ed3a35d97705be137057129000cc13aaadf3ae 100755 (executable)
@@ -351,9 +351,6 @@ while(<>) {
                        $trampolines{$funcname} = 1;
                        # The assembly trampoline that jumps to the libc routine.
                        $text .= "func ${funcname}_trampoline()\n";
-                       # Map syscall.funcname to just plain funcname.
-                       # (The jump to this function is in the assembly trampoline, generated by mkasm.go.)
-                       $text .= "//go:linkname $funcname $funcname\n";
                        # Tell the linker that funcname can be found in libSystem using varname without the libc_ prefix.
                        my $basename = substr $funcname, 5;
                        my $libc = "libc.so";