binutils-gdb/gold
2008-01-23 01:31:13 +00:00
..
po Support assignments and expressions in linker scripts. 2008-01-09 19:57:45 +00:00
testsuite Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
aclocal.m4
archive.cc Reduce the number of system calls. Use readv instead of pread. Do 2008-01-02 23:48:49 +00:00
archive.h Reduce the number of system calls. Use readv instead of pread. Do 2008-01-02 23:48:49 +00:00
common.cc
common.h
compressed_output.cc Don't include options.h in fileread.h. Remove General_options 2008-01-18 23:26:48 +00:00
compressed_output.h
config.in
configure Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
configure.ac Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
debug.h Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
defstd.cc
defstd.h
dirsearch.cc
dirsearch.h
dwarf_reader.cc From Craig Silverstein: Handle quoted strings differently in version 2008-01-18 23:35:09 +00:00
dwarf_reader.h
dynobj.cc Don't include options.h in fileread.h. Remove General_options 2008-01-18 23:26:48 +00:00
dynobj.h From Andrew Chatham and Craig Silverstein: Add support for version 2008-01-15 23:41:28 +00:00
ehframe.cc
ehframe.h
errors.cc Report linker script errors with line numbers. Ignore OUTPUT_FORMAT 2008-01-07 05:19:02 +00:00
errors.h Report linker script errors with line numbers. Ignore OUTPUT_FORMAT 2008-01-07 05:19:02 +00:00
expression.cc Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
fileread.cc Don't include options.h in fileread.h. Remove General_options 2008-01-18 23:26:48 +00:00
fileread.h Include <vector>. 2008-01-22 22:50:31 +00:00
gold-threads.cc
gold-threads.h
gold.cc Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
gold.h
i386.cc
layout.cc Don't include options.h in fileread.h. Remove General_options 2008-01-18 23:26:48 +00:00
layout.h Support assignments and expressions in linker scripts. 2008-01-09 19:57:45 +00:00
main.cc From Craig Silverstein: Optionally print command line for easier 2008-01-18 23:41:31 +00:00
Makefile.am Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
Makefile.in Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
merge.cc
merge.h
object.cc Reduce the number of system calls. Use readv instead of pread. Do 2008-01-02 23:48:49 +00:00
object.h Reduce the number of system calls. Use readv instead of pread. Do 2008-01-02 23:48:49 +00:00
options.cc Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
options.h From Andrew Chatham and Craig Silverstein: Add support for version 2008-01-15 23:41:28 +00:00
output.cc Don't include options.h in fileread.h. Remove General_options 2008-01-18 23:26:48 +00:00
output.h Don't include options.h in fileread.h. Remove General_options 2008-01-18 23:26:48 +00:00
parameters.cc
parameters.h
pread.c
README
readsyms.cc
readsyms.h
reloc-types.h
reloc.cc Reduce the number of system calls. Use readv instead of pread. Do 2008-01-02 23:48:49 +00:00
reloc.h
resolve.cc Support assignments and expressions in linker scripts. 2008-01-09 19:57:45 +00:00
script-c.h Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
script-sections.cc Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
script-sections.h Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
script.cc Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
script.h Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00
stringpool.cc
stringpool.h
strtab.h
symtab.cc From Andrew Chatham and Craig Silverstein: Add support for version 2008-01-15 23:41:28 +00:00
symtab.h From Andrew Chatham and Craig Silverstein: Add support for version 2008-01-15 23:41:28 +00:00
target-reloc.h
target-select.cc
target-select.h
target.h
tls.h
token.h
version.cc
workqueue-internal.h
workqueue-threads.cc
workqueue.cc
workqueue.h
x86_64.cc
yyscript.y Parse a SECTIONS clause in a linker script. 2008-01-23 01:31:13 +00:00

gold is an ELF linker.  It is intended to have complete support for
ELF and to run as fast as possible on modern systems.

It is written in C++.  It is (intended to be) a GNU program, and
therefore follows the GNU formatting standards as modified for C++.
Source documents in order of precedence:
    http://www.gnu.org/prep/standards/
    http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/C++STYLE
    http://www.zembu.com/eng/procs/c++style.html

The linker is intended to have complete support for cross-compilation,
which still supporting the normal case of native linking as fast as
possible.  This makes the code more complex.

Many functions are actually templates whose parameter is the ELF file
class (e.g., 32 bits or 64 bits).  The code is the same, but we don't
want to pay the execution time cost of always using 64-bit integers if
the target is 32 bits.