Delta Between Two Patch Sets: misc/cgo/testshared/mainmult.c
Issue 9738047 :
code review 9738047: runtime: Add shared library support (linux/amd64)
Left Patch Set: diff -r 41702da0dcc4 https://go.googlecode.com/hg/
Right Patch Set: diff -r 3833ddddde2b1a2741a396c4e965b04d525a133b https://go.googlecode.com/hg/
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
misc/cgo/testshared/main.c
misc/cgo/testshared/mainadv.c
misc/cgo/testshared/mainmult.c
misc/cgo/testshared/shared.go
misc/cgo/testshared/shared2.go
misc/cgo/testshared/test.bash
src/cmd/cgo/out.go
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/cgo/gcc_sharedlib_linux.c
src/pkg/runtime/cgo/libcgo.h
src/pkg/runtime/cgo/sharedlib_linux.c
src/pkg/runtime/os_linux_arm.c
src/pkg/runtime/proc.c
src/pkg/runtime/rt0_linux_amd64.s
src/pkg/runtime/rt0_linux_arm.s
src/pkg/runtime/runtime.h
src/pkg/runtime/runtime.c
src/pkg/runtime/softfloat_arm.c
src/pkg/runtime/vdso_linux_amd64.c
src/run.bash
LEFT RIGHT
(no file at all) 1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 #include <stdio.h>
6
7 extern int Go_callback(void);
8 extern int Go_callback2(void);
9
10 int main() {
11 Go_callback();
12 Go_callback2();
13 return 0;
14 }
LEFT RIGHT