Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(107)

Issue 2665041: elf objects (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 11 months ago by rsc
Modified:
13 years, 9 months ago
Reviewers:
Visibility:
Public.

Description

cgo: eliminate stub .so files Includes work in linkers to link ELF/Mach-O .o files into final binary. Not good enough for all possible .o files, but good enough for what cgo generates. Libcgo (a former stub .so file) becomes the Go package runtime/cgo. Tested on darwin/386, darwin/amd64, linux/386, linux/amd64. This CL needs to be split into multiple CLs.

Patch Set 1 #

Patch Set 2 : code review 2665041: elf objects #

Patch Set 3 : code review 2665041: elf objects #

Patch Set 4 : code review 2665041: elf objects #

Patch Set 5 : code review 2665041: elf objects #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1340 lines, -339 lines) Patch
M src/Make.pkg View 3 4 chunks +27 lines, -23 lines 0 comments Download
M src/cmd/6l/Makefile View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/6l/asm.c View 2 13 chunks +298 lines, -79 lines 0 comments Download
M src/cmd/6l/l.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M src/cmd/6l/obj.c View 2 3 chunks +3 lines, -2 lines 0 comments Download
M src/cmd/6l/pass.c View 2 3 chunks +12 lines, -8 lines 0 comments Download
M src/cmd/6l/span.c View 1 3 chunks +1 line, -17 lines 0 comments Download
M src/cmd/8l/8.out.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/8l/Makefile View 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/8l/asm.c View 11 chunks +332 lines, -72 lines 0 comments Download
M src/cmd/8l/l.h View 1 4 chunks +7 lines, -2 lines 0 comments Download
M src/cmd/8l/obj.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/8l/pass.c View 5 chunks +16 lines, -9 lines 0 comments Download
M src/cmd/8l/span.c View 4 chunks +5 lines, -17 lines 0 comments Download
M src/cmd/cgo/main.go View 3 chunks +18 lines, -15 lines 0 comments Download
M src/cmd/cgo/out.go View 2 3 4 7 chunks +41 lines, -11 lines 0 comments Download
M src/cmd/cgo/util.go View 2 chunks +1 line, -3 lines 0 comments Download
M src/cmd/gopack/ar.c View 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/ld/data.c View 2 10 chunks +129 lines, -10 lines 0 comments Download
M src/cmd/ld/dwarf.c View 3 chunks +5 lines, -2 lines 0 comments Download
M src/cmd/ld/elf.h View 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/ld/elf.c View 6 chunks +25 lines, -14 lines 0 comments Download
M src/cmd/ld/go.c View 2 3 chunks +20 lines, -3 lines 0 comments Download
M src/cmd/ld/lib.h View 1 2 3 chunks +25 lines, -0 lines 0 comments Download
M src/cmd/ld/lib.c View 1 4 chunks +73 lines, -18 lines 0 comments Download
M src/cmd/ld/macho.c View 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/cmd/ld/symtab.c View 2 chunks +41 lines, -2 lines 0 comments Download
M src/pkg/Makefile View 3 chunks +3 lines, -0 lines 0 comments Download
M src/pkg/debug/elf/elf.go View 1 chunk +6 lines, -3 lines 0 comments Download
M src/pkg/debug/elf/file.go View 2 9 chunks +142 lines, -18 lines 0 comments Download
M src/pkg/runtime/386/asm.s View 1 chunk +3 lines, -1 line 0 comments Download
M src/pkg/runtime/cgo/386.S View 1 chunk +6 lines, -0 lines 0 comments Download
A src/pkg/runtime/cgo/Makefile View 1 chunk +35 lines, -0 lines 0 comments Download
M src/pkg/runtime/cgo/amd64.S View 0 chunks +-1 lines, --1 lines 0 comments Download
A src/pkg/runtime/cgo/cgo.go View 1 chunk +8 lines, -0 lines 0 comments Download
A src/pkg/runtime/cgo/iscgo.c View 1 chunk +14 lines, -0 lines 0 comments Download
M src/pkg/runtime/cgo/libcgo.h View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/cgo/linux_386.c View 2 chunks +10 lines, -2 lines 0 comments Download
M src/pkg/runtime/cgo/linux_amd64.c View 1 chunk +3 lines, -1 line 0 comments Download
M src/pkg/runtime/cgo/util.c View 4 chunks +8 lines, -3 lines 0 comments Download
M src/pkg/runtime/proc.c View 2 chunks +6 lines, -1 line 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b