nld.1: mention x86-64
[ld.git] / nld.1
bloba80c545e916ddc2f5f4e5a471acd671d004972bf
1 .TH NEATLD 1 
2 .SH NAME
3 neatld \- the neatld ARM/X86(-64) static linker
4 .SH SYNOPSIS
5 .B neatld
7 .I options
9 .I objfile ...
10 .br
11 .SH DESCRIPTION
12 neatld links the given object and archive files into an executable
13 file.  The architecture of the output is determined based on the
14 architecture of input files.  Options are:
15 .TP
16 .BI -o " out"
17 Write the output to the given file instead of
18 .I a.out.
19 .TP
20 .BI -l lib
21 Link with library
22 .IR lib .
23 .TP
24 .BI -L libdir
25 Search
26 .IR libdir
27 for finding libraries specified with
28 .B -l.
29 .TP
30 .BI -s
31 Do not include a symbol table.
32 .TP
33 .BI -m X=vaddr:laddr
34 Set the virtual/load address of a section.
35 .I X
36 defines the section and can be
37 .I c
38 for code section,
39 .I d
40 for data section and
41 .I b
42 for BSS section.
43 .IR laddr
44 can be omitted, in which case it would be the same as
45 .IR vaddr .
46 .TP
47 .BI -p
48 Page-align sections.
49 .TP
50 .BI -e sym
51 Entry point symbol.
52 .SH "SEE ALSO"
53 .IR neatcc (1),
54 .IR neatas (1)