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

Issue 4629070: code review 4629070: cmd/cc/, cmd/8c/: Adjustments for compilation on Plan 9... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by lucio
Modified:
13 years, 8 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

cmd/cc/, cmd/8c/: Adjustments for compilation on Plan 9 native platforms 8c/gc.h: . Added <u.h> header. . Added "lD" pragma for "*Adr" to supplement "D". 8c/swt.c: . Removed unreferenced "thestring" arguments in Bprint() calls. cc/acid.c: cc/com.c: cc/com64.c: cc/dcl.c: cc/scon.c: . Added <u.h>, required by "cc.h". cc/bits.c: . Added <u.h>, required by "cc.h". cc/cc.h: . Removed <u.h> and <ctype.h>. . Added "O" pragma to accept "uint" as well as "int". . Added new "U" pragma (char *). cc/cc.y: . Added <u.h> before <stdio.h> (and "cc.h"). cc/dpchk.c: cc/mac.c: . Added <u.h> and <ctype.h>. cc/funct.c: . Added <u.h>, required by "cc.h". cc/godefs.c . Added <u.h>, required by "cc.h". . Dropped unused "t" argument in Bprint(). cc/lex.c: . Added <u.h> and <ctype.h>. . Removed unnecessary incrementation. . Changed exit() invocations with exits(). cc/omachcap.c: . Added <u.h>, required by "cc.h". . USED(n) for unused argument to machcap(). cc/sub.c: . Added <u.h> and <ctype.h>.

Patch Set 1 #

Patch Set 2 : diff -r 9847366b0bee https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 9847366b0bee https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 4 : diff -r 5e7ad769e69f https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r fa2d4e363b02 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -8 lines) Patch
M src/cmd/8c/gc.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/cmd/8c/swt.c View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/cmd/cc/acid.c View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cc/bits.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cc/cc.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/cmd/cc/cc.y View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cc/com.c View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cc/com64.c View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cc/dcl.c View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cc/dpchk.c View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/cc/funct.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cc/godefs.c View 1 2 chunks +2 lines, -1 line 0 comments Download
M src/cmd/cc/lex.c View 1 2 3 4 chunks +5 lines, -3 lines 0 comments Download
M src/cmd/cc/mac.c View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/cc/omachcap.c View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/cc/scon.c View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/cc/sub.c View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8
lucio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, rsc@golang.org), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 8 months ago (2011-06-24 19:07:11 UTC) #1
rsc
Every change we make to these files shows up as a diff when people compare ...
13 years, 8 months ago (2011-06-27 20:10:01 UTC) #2
lucio
On 6/27/11, rsc@golang.org <rsc@golang.org> wrote: > Every change we make to these files shows up ...
13 years, 8 months ago (2011-06-28 03:41:34 UTC) #3
rsc
> I'll leave the redefinition of "o" as a uint, > even if that means ...
13 years, 8 months ago (2011-06-28 04:33:41 UTC) #4
lucio
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 8 months ago (2011-06-29 05:15:25 UTC) #5
lucio
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 8 months ago (2011-06-29 05:23:53 UTC) #6
rsc
LGTM Thanks for simplifying the changes.
13 years, 8 months ago (2011-07-01 13:32:49 UTC) #7
rsc
13 years, 8 months ago (2011-07-01 13:50:30 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=4da526e7b4cb ***

8c: fixes for Plan 9 build

8c/gc.h:
. Added <u.h> header.
. Added "lD" pragma for "*Adr" to supplement "D".

8c/swt.c:
. Removed unreferenced "thestring" arguments in Bprint() calls.

cc/acid.c:
cc/com.c:
cc/com64.c:
cc/dcl.c:
cc/scon.c:
. Added <u.h>, required by "cc.h".

cc/bits.c:
. Added <u.h>, required by "cc.h".

cc/cc.h:
. Removed <u.h> and <ctype.h>.
. Added "O" pragma to accept "uint" as well as "int".
. Added new "U" pragma (char *).

cc/cc.y:
. Added <u.h> before <stdio.h> (and "cc.h").

cc/dpchk.c:
cc/mac.c:
. Added <u.h> and <ctype.h>.

cc/funct.c:
. Added <u.h>, required by "cc.h".

cc/godefs.c
. Added <u.h>, required by "cc.h".
. Dropped unused "t" argument in Bprint().

cc/lex.c:
. Added <u.h> and <ctype.h>.
. Removed unnecessary incrementation.
. Changed exit() invocations with exits().

cc/omachcap.c:
. Added <u.h>, required by "cc.h".
. USED(n) for unused argument to machcap().

cc/sub.c:
. Added <u.h> and <ctype.h>.

R=rsc
CC=golang-dev
http://codereview.appspot.com/4629070

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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