diff options
author | Ian Lance Taylor <iant@golang.org> | 2012-10-09 15:29:43 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2012-10-09 15:29:43 -0700 |
commit | a14cbc96852da1228ffd9c14cd7f44fa65ca917d (patch) | |
tree | 0c6a6aa7191c16fc0a7fec2775c04d5355606f3a /src/cmd/8l/obj.c | |
parent | 15934033d9f1e9bc86173295c151a5ad60cc3e62 (diff) | |
download | go-a14cbc96852da1228ffd9c14cd7f44fa65ca917d.tar.gz |
cmd/ld: add -B option to set build ID
Background on build ID:
http://fedoraproject.org/wiki/RolandMcGrath/BuildID
R=rsc
CC=golang-dev
http://codereview.appspot.com/6625072
Diffstat (limited to 'src/cmd/8l/obj.c')
-rw-r--r-- | src/cmd/8l/obj.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/8l/obj.c b/src/cmd/8l/obj.c index 648fef1ab..773a6ddfb 100644 --- a/src/cmd/8l/obj.c +++ b/src/cmd/8l/obj.c @@ -145,6 +145,10 @@ main(int argc, char *argv[]) val = EARGF(usage()); addstrdata(name, val); break; + case 'B': + val = EARGF(usage()); + addbuildinfo(val); + break; } ARGEND if(argc != 1) |