binutils-gdb/gold
2006-11-07 18:51:39 +00:00
..
po Add Elf_file interface which can be used by both Sized_relobj and 2006-11-07 18:51:39 +00:00
aclocal.m4 Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
archive.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
archive.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
common.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
common.h Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
config.in Framework for relocation scanning. Implement simple static TLS 2006-10-20 20:40:49 +00:00
configure Framework for relocation scanning. Implement simple static TLS 2006-10-20 20:40:49 +00:00
configure.ac Framework for relocation scanning. Implement simple static TLS 2006-10-20 20:40:49 +00:00
defstd.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
defstd.h Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
dirsearch.cc Include <cassert> 2006-08-04 23:20:34 +00:00
dirsearch.h Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
dynobj.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
fileread.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
fileread.h Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
gold-threads.cc
gold-threads.h
gold.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
gold.h gcc 3.2.2 portability hacks. 2006-11-03 18:38:43 +00:00
i386.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
layout.cc Rework stringpool and hash tables so that we always generate the same 2006-11-07 04:40:46 +00:00
layout.h Rework stringpool and hash tables so that we always generate the same 2006-11-07 04:40:46 +00:00
Makefile.am Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
Makefile.in Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
object.cc Add Elf_file interface which can be used by both Sized_relobj and 2006-11-07 18:51:39 +00:00
object.h Add Elf_file interface which can be used by both Sized_relobj and 2006-11-07 18:51:39 +00:00
options.cc Ignored the -m option, for old linker compatibility. 2006-11-03 18:48:03 +00:00
options.h Ignored the -m option, for old linker compatibility. 2006-11-03 18:48:03 +00:00
output.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
output.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
README
readsyms.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
readsyms.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
reloc.cc Add Elf_file interface which can be used by both Sized_relobj and 2006-11-07 18:51:39 +00:00
reloc.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
resolve.cc gcc 3.2.2 portability hacks. 2006-11-03 18:38:43 +00:00
stringpool.cc Rework stringpool and hash tables so that we always generate the same 2006-11-07 04:40:46 +00:00
stringpool.h Rework stringpool and hash tables so that we always generate the same 2006-11-07 04:40:46 +00:00
strtab.h Another snapshot of the current state of the sources. Gets to the 2006-08-18 22:29:20 +00:00
symtab.cc Add Elf_file interface which can be used by both Sized_relobj and 2006-11-07 18:51:39 +00:00
symtab.h Rework stringpool and hash tables so that we always generate the same 2006-11-07 04:40:46 +00:00
target-reloc.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
target-select.cc Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
target-select.h Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +00:00
target.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 2006-11-06 22:46:08 +00:00
workqueue.cc Framework for relocation scanning. Implement simple static TLS 2006-10-20 20:40:49 +00:00
workqueue.h Can now do a full static link of hello, world in C or C++ 2006-11-03 18:26:11 +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.