documentation

package
v0.0.0-...-e758773 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2011 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

5l is a modified version of the Plan 9 linker. The original is documented at

http://plan9.bell-labs.com/magic/man2html/1/2l

Its target architecture is the ARM, referred to by these tools as arm. It reads files in .5 format generated by 5g, 5c, and 5a and emits a binary called 5.out by default.

Major changes include:

  • support for segmented stacks (this feature is implemented here, not in the compilers).

Original options are listed in the link above.

Options new in this version:

-F

Force use of software floating point.
Also implied by setting GOARM=5 in the environment.

-Hlinux

Write Linux ELF binaries (default when $GOOS is linux)

-I interpreter

Set the ELF dynamic linker to use.

-L dir1 -L dir2

Search for libraries (package files) in dir1, dir2, etc.
The default is the single location $GOROOT/pkg/$GOOS_arm.

-r dir1:dir2:...

Set the dynamic linker search path when using ELF.

-V

Print the linker version.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL