commit | fe14ee52ccf89fa02366a06fe892a7fcf135e214 | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Fri Feb 01 08:35:33 2013 -0800 |
committer | Russ Cox <rsc@golang.org> | Fri Feb 01 08:35:33 2013 -0800 |
tree | 92d863667572fa6f34f5e1bd8e871bde9f3fbfcd | |
parent | b0a29f393b5672c37355eb7a5f126cc0e1537834 [diff] |
cmd/6c, cmd/6g: add flag to support large-model code generation Added the -pic flag to 6c and 6g to avoid assembler instructions that cannot use RIP-relative adressing. This is needed to support the -shared mode in 6l. See also: https://golang.org/cl/6926049 https://golang.org/cl/6822078 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7064048