binutils-gdb/gold
2008-02-26 22:48:08 +00:00
..
po
testsuite From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
aclocal.m4
archive.cc From Craig Silverstein: rename option functions for future option 2008-02-26 21:45:30 +00:00
archive.h
binary.cc Add support for --format binary for input files. 2008-02-08 07:06:58 +00:00
binary.h Add support for --format binary for input files. 2008-02-08 07:06:58 +00:00
common.cc
common.h
compressed_output.cc From Craig Silverstein: rename option functions for future option 2008-02-26 21:45:30 +00:00
compressed_output.h
config.in
configure
configure.ac
configure.tgt
debug.h
defstd.cc
defstd.h
dirsearch.cc
dirsearch.h
dwarf_reader.cc
dwarf_reader.h
dynobj.cc From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
dynobj.h From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
ehframe.cc Align FDE and CIE lengths as needed. 2008-02-14 02:40:15 +00:00
ehframe.h Align FDE and CIE lengths as needed. 2008-02-14 02:40:15 +00:00
errors.cc
errors.h
expression.cc Implement remaining linker script functions. 2008-02-13 22:44:50 +00:00
fileread.cc From Craig Silverstein: rename option functions for future option 2008-02-26 21:45:30 +00:00
fileread.h Support selecting target by name. 2008-02-13 02:44:50 +00:00
gold-threads.cc
gold-threads.h
gold.cc From Craig Silverstein: rename option functions for future option 2008-02-26 21:45:30 +00:00
gold.h
i386.cc From Craig Silverstein: implement -z max-page-size and -z 2008-02-26 22:10:32 +00:00
layout.cc From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
layout.h Support --oformat binary. 2008-02-07 07:33:46 +00:00
main.cc From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
Makefile.am Add support for --format binary for input files. 2008-02-08 07:06:58 +00:00
Makefile.in Add support for --format binary for input files. 2008-02-08 07:06:58 +00:00
merge.cc
merge.h
object.cc Support dynamic relocations against local section symbols. 2008-02-12 00:28:48 +00:00
object.h Support dynamic relocations against local section symbols. 2008-02-12 00:28:48 +00:00
options.cc From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
options.h From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
output.cc Support dynamic relocations against local section symbols. 2008-02-12 00:28:48 +00:00
output.h Implement -Tdata and -Tbss. 2008-02-13 22:47:28 +00:00
parameters.cc From Craig Silverstein: implement -z max-page-size and -z 2008-02-26 22:10:32 +00:00
parameters.h From Craig Silverstein: implement -z max-page-size and -z 2008-02-26 22:10:32 +00:00
pread.c
README
readsyms.cc
readsyms.h
reloc-types.h
reloc.cc
reloc.h
resolve.cc
script-c.h
script-sections.cc Set load address for orphan sections. 2008-02-14 02:34:22 +00:00
script-sections.h
script.cc From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
script.h From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
stringpool.cc From Craig Silverstein: rename option functions for future option 2008-02-26 21:45:30 +00:00
stringpool.h
strtab.h
symtab.cc Assignments in linker scripts override definitions from object files. 2008-02-13 01:20:38 +00:00
symtab.h From Craig Silverstein: rename option functions for future option 2008-02-26 21:45:30 +00:00
target-reloc.h
target-select.cc Support selecting target by name. 2008-02-13 02:44:50 +00:00
target-select.h Support selecting target by name. 2008-02-13 02:44:50 +00:00
target.h From Craig Silverstein: implement -z max-page-size and -z 2008-02-26 22:10:32 +00:00
tls.h
token.h
version.cc Up version to 1.1, as the 1.1 binary was pushed to users today. 2008-02-12 02:01:32 +00:00
workqueue-internal.h
workqueue-threads.cc
workqueue.cc
workqueue.h
x86_64.cc From Craig Silverstein: implement -z max-page-size and -z 2008-02-26 22:10:32 +00:00
yyscript.y

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.