commit | 3bdeaf2a64a9731fc664b6d0fc36a70e7a7e0a05 | [log] [tgz] |
---|---|---|
author | Elias Naur <elias.naur@gmail.com> | Wed Jan 30 08:46:56 2013 -0800 |
committer | Russ Cox <rsc@golang.org> | Wed Jan 30 08:46:56 2013 -0800 |
tree | 1dfd7309c7b3e2b196eccd42d9e86c307a771316 | |
parent | 6adbc545f69a924fc5bd98eae14bda80c47d118b [diff] |
6l/5l: PIC and shared library support for the linkers. Added the -shared flag to 5l/6l to output a PIC executable with the required dynamic relocations and RIP-relative addressing in machine code. Added dummy support to 8l to avoid compilation errors See also: https://golang.org/cl/6822078 https://golang.org/cl/7064048 and https://groups.google.com/d/topic/golang-nuts/P05BDjLcQ5k/discussion R=rsc, iant CC=golang-dev https://golang.org/cl/6926049