diff options
| author | Ian Lance Taylor <iant@golang.org> | 2017-10-12 19:46:42 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-10-17 04:03:16 +0000 |
| commit | 378de1ae43c6406ae5159f235f834da73403a541 (patch) | |
| tree | eec430c0572070482cb70e678fd48d54a77fe3c6 /src/database/sql/sql.go | |
| parent | 151c66b59fb657c90d2cad4c72b2059319806a9c (diff) | |
| download | go-378de1ae43c6406ae5159f235f834da73403a541.tar.xz | |
runtime: unify 386 entry point code
Unify the 386 entry point code as much as possible.
The main function could not be unified because on Windows 386 it is
called _main. Putting main in asm_386.s caused multiple definition
errors when using the external linker.
Add the _lib entry point to various operating systems. A future CL
will enable c-archive/c-shared mode for those targets.
Fix _rt0_386_windows_lib_go--it was passing arguments as though it
were amd64.
Change-Id: Ic73f1c95cdbcbea87f633f4a29bbc218a5db4f58
Reviewed-on: https://go-review.googlesource.com/70530
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions
