Source file src/cmd/5l/doc.go
1 // Copyright 2009 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 /* 6 7 5l is a modified version of the Plan 9 linker. The original is documented at 8 9 http://plan9.bell-labs.com/magic/man2html/1/2l 10 11 Its target architecture is the ARM, referred to by these tools as arm. 12 It reads files in .5 format generated by 5g, 5c, and 5a and emits 13 a binary called 5.out by default. 14 15 Major changes include: 16 - support for segmented stacks (this feature is implemented here, not in the compilers). 17 18 19 Original options are listed in the link above. 20 21 Options new in this version: 22 23 -F 24 Force use of software floating point. 25 Also implied by setting GOARM=5 in the environment. 26 -Hlinux 27 Write Linux ELF binaries (default when $GOOS is linux) 28 -I interpreter 29 Set the ELF dynamic linker to use. 30 -L dir1 -L dir2 31 Search for libraries (package files) in dir1, dir2, etc. 32 The default is the single location $GOROOT/pkg/$GOOS_arm. 33 -r dir1:dir2:... 34 Set the dynamic linker search path when using ELF. 35 -V 36 Print the linker version. 37 38 */ 39 package documentation