You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ian Lance Taylor dbe717effb More dynamic object support, initial scripting support. 20 years ago
..
po More dynamic object support, initial scripting support. 20 years ago
Makefile.am More dynamic object support, initial scripting support. 20 years ago
Makefile.in More dynamic object support, initial scripting support. 20 years ago
README Initial CVS checkin of gold 20 years ago
aclocal.m4 Can now do a full static link of hello, world in C or C++ 20 years ago
archive.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 20 years ago
archive.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 20 years ago
common.cc More dynamic object support, initial scripting support. 20 years ago
common.h Can now do a full static link of hello, world in C or C++ 20 years ago
config.in Framework for relocation scanning. Implement simple static TLS 20 years ago
configure More dynamic object support, initial scripting support. 20 years ago
configure.ac More dynamic object support, initial scripting support. 20 years ago
defstd.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 20 years ago
defstd.h Can now do a full static link of hello, world in C or C++ 20 years ago
dirsearch.cc Include <cassert> 20 years ago
dirsearch.h Can now do a full static link of hello, world in C or C++ 20 years ago
dynobj.cc More dynamic object support, initial scripting support. 20 years ago
dynobj.h More dynamic object support, initial scripting support. 20 years ago
fileread.cc Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 20 years ago
fileread.h Can now do a full static link of hello, world in C or C++ 20 years ago
gold-threads.cc Initial CVS checkin of gold 20 years ago
gold-threads.h Initial CVS checkin of gold 20 years ago
gold.cc More dynamic object support, initial scripting support. 20 years ago
gold.h gcc 3.2.2 portability hacks. 20 years ago
i386.cc More dynamic object support, initial scripting support. 20 years ago
layout.cc More dynamic object support, initial scripting support. 20 years ago
layout.h More dynamic object support, initial scripting support. 20 years ago
object.cc More dynamic object support, initial scripting support. 20 years ago
object.h More dynamic object support, initial scripting support. 20 years ago
options.cc More dynamic object support, initial scripting support. 20 years ago
options.h More dynamic object support, initial scripting support. 20 years ago
output.cc More dynamic object support, initial scripting support. 20 years ago
output.h More dynamic object support, initial scripting support. 20 years ago
readsyms.cc More dynamic object support, initial scripting support. 20 years ago
readsyms.h More dynamic object support, initial scripting support. 20 years ago
reloc.cc More dynamic object support, initial scripting support. 20 years ago
reloc.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 20 years ago
resolve.cc gcc 3.2.2 portability hacks. 20 years ago
script-c.h More dynamic object support, initial scripting support. 20 years ago
script.cc More dynamic object support, initial scripting support. 20 years ago
script.h More dynamic object support, initial scripting support. 20 years ago
stringpool.cc Rework stringpool and hash tables so that we always generate the same 20 years ago
stringpool.h Rework stringpool and hash tables so that we always generate the same 20 years ago
strtab.h Another snapshot of the current state of the sources. Gets to the 20 years ago
symtab.cc More dynamic object support, initial scripting support. 20 years ago
symtab.h More dynamic object support, initial scripting support. 20 years ago
target-reloc.h Split Object into Dynobj and Relobj, incorporate elfcpp swapping changes. 20 years ago
target-select.cc Can now do a full static link of hello, world in C or C++ 20 years ago
target-select.h Can now do a full static link of hello, world in C or C++ 20 years ago
target.h More dynamic object support, initial scripting support. 20 years ago
workqueue.cc Framework for relocation scanning. Implement simple static TLS 20 years ago
workqueue.h Can now do a full static link of hello, world in C or C++ 20 years ago
yyscript.y More dynamic object support, initial scripting support. 20 years ago

README

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.