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

Issue 3491042: code review 3491042: 6l, 8l: support for linking ELF and Mach-O .o files (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by rsc
Modified:
14 years, 5 months ago
Reviewers:
CC:
iant, iant2, golang-dev
Visibility:
Public.

Description

6l, 8l: support for linking ELF and Mach-O .o files More support for references to dynamic symbols, including full GOT and PLT for ELF objects. For Mach-O everything ends up in the GOT: dealing with the real lazy PLT is too hard for now so we punt.

Patch Set 1 #

Patch Set 2 : code review 3491042: 6l, 8l: support for linking ELF and Mach-O .o files #

Patch Set 3 : code review 3491042: 6l, 8l: support for linking ELF and Mach-O .o files #

Patch Set 4 : code review 3491042: 6l, 8l: support for linking ELF and Mach-O .o files #

Total comments: 9

Patch Set 5 : code review 3491042: 6l, 8l: support for linking ELF and Mach-O .o files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1313 lines, -454 lines) Patch
M src/cmd/6l/Makefile View 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/6l/asm.c View 13 chunks +430 lines, -80 lines 0 comments Download
M src/cmd/6l/l.h View 3 chunks +12 lines, -2 lines 0 comments Download
M src/cmd/8l/8.out.h View 1 chunk +2 lines, -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 +430 lines, -72 lines 0 comments Download
M src/cmd/8l/l.h View 4 chunks +14 lines, -3 lines 0 comments Download
M src/cmd/ld/data.c View 13 chunks +146 lines, -12 lines 0 comments Download
M src/cmd/ld/elf.c View 6 chunks +27 lines, -13 lines 0 comments Download
M src/cmd/ld/go.c View 3 chunks +20 lines, -3 lines 0 comments Download
M src/cmd/ld/lib.h View 3 chunks +26 lines, -0 lines 0 comments Download
M src/cmd/ld/lib.c View 1 2 3 4 4 chunks +74 lines, -18 lines 0 comments Download
M src/cmd/ld/macho.h View 2 chunks +16 lines, -0 lines 0 comments Download
M src/cmd/ld/macho.c View 11 chunks +112 lines, -251 lines 0 comments Download

Messages

Total messages: 5
rsc
Hello iant (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 5 months ago (2010-12-07 22:18:22 UTC) #1
iant
LGTM http://codereview.appspot.com/3491042/diff/9001/src/cmd/6l/asm.c File src/cmd/6l/asm.c (right): http://codereview.appspot.com/3491042/diff/9001/src/cmd/6l/asm.c#newcode214 src/cmd/6l/asm.c:214: diag("unexpected R_X86_64_64 relocation for dynamic symbol %s", targ->name); ...
14 years, 5 months ago (2010-12-07 23:24:06 UTC) #2
rsc1
http://codereview.appspot.com/3491042/diff/9001/src/cmd/6l/asm.c File src/cmd/6l/asm.c (right): http://codereview.appspot.com/3491042/diff/9001/src/cmd/6l/asm.c#newcode214 src/cmd/6l/asm.c:214: diag("unexpected R_X86_64_64 relocation for dynamic symbol %s", targ->name); On ...
14 years, 5 months ago (2010-12-07 23:52:55 UTC) #3
iant2
rsc@google.com writes: > http://codereview.appspot.com/3491042/diff/9001/src/cmd/6l/asm.c#newcode214 > src/cmd/6l/asm.c:214: diag("unexpected R_X86_64_64 relocation for > dynamic symbol %s", targ->name); ...
14 years, 5 months ago (2010-12-08 00:01:12 UTC) #4
rsc
14 years, 5 months ago (2010-12-08 18:56:45 UTC) #5
*** Submitted as 5849cd9393cd ***

6l, 8l: support for linking ELF and Mach-O .o files

More support for references to dynamic symbols,
including full GOT and PLT for ELF objects.

For Mach-O everything ends up in the GOT: dealing
with the real lazy PLT is too hard for now so we punt.

R=iant, iant2
CC=golang-dev
http://codereview.appspot.com/3491042
Sign in to reply to this message.

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