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 92e059d8dc Framework for relocation scanning. Implement simple static TLS 20 years ago
..
po Framework for relocation scanning. Implement simple static TLS 20 years ago
Makefile.am Snapshot. Now able to produce a minimal executable which actually 20 years ago
Makefile.in Snapshot. Now able to produce a minimal executable which actually 20 years ago
README Initial CVS checkin of gold 20 years ago
aclocal.m4 Initial CVS checkin of gold 20 years ago
archive.cc Framework for relocation scanning. Implement simple static TLS 20 years ago
archive.h Lay out object file sections when we add the symbols to the symbol 20 years ago
config.in Framework for relocation scanning. Implement simple static TLS 20 years ago
configure Framework for relocation scanning. Implement simple static TLS 20 years ago
configure.ac Framework for relocation scanning. Implement simple static TLS 20 years ago
dirsearch.cc Include <cassert> 20 years ago
dirsearch.h Initial CVS checkin of gold 20 years ago
fileread.cc Snapshot. Now able to produce a minimal executable which actually 20 years ago
fileread.h New drop, with first cut of section layout code. 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 Framework for relocation scanning. Implement simple static TLS 20 years ago
gold.h Framework for relocation scanning. Implement simple static TLS 20 years ago
i386.cc Framework for relocation scanning. Implement simple static TLS 20 years ago
layout.cc Framework for relocation scanning. Implement simple static TLS 20 years ago
layout.h Framework for relocation scanning. Implement simple static TLS 20 years ago
object.cc Framework for relocation scanning. Implement simple static TLS 20 years ago
object.h Framework for relocation scanning. Implement simple static TLS 20 years ago
options.cc Framework for relocation scanning. Implement simple static TLS 20 years ago
options.h Framework for relocation scanning. Implement simple static TLS 20 years ago
output.cc Clean up HAVE_MEMBER_TEMPLATE_SPECIFICATIONS somewhat. 20 years ago
output.h Framework for relocation scanning. Implement simple static TLS 20 years ago
readsyms.cc Framework for relocation scanning. Implement simple static TLS 20 years ago
readsyms.h Lay out object file sections when we add the symbols to the symbol 20 years ago
reloc.cc Framework for relocation scanning. Implement simple static TLS 20 years ago
reloc.h Framework for relocation scanning. Implement simple static TLS 20 years ago
resolve.cc Lay out object file sections when we add the symbols to the symbol 20 years ago
stringpool.cc Snapshot. Now able to produce a minimal executable which actually 20 years ago
stringpool.h Snapshot. Now able to produce a minimal executable which actually 20 years ago
strtab.h Another snapshot of the current state of the sources. Gets to the 20 years ago
symtab.cc Avoid multiple definition errors from linkonce sections. 20 years ago
symtab.h Framework for relocation scanning. Implement simple static TLS 20 years ago
target-reloc.h Framework for relocation scanning. Implement simple static TLS 20 years ago
target-select.cc Another snapshot of the current state of the sources. Gets to the 20 years ago
target-select.h Another snapshot of the current state of the sources. Gets to the 20 years ago
target.h Framework for relocation scanning. Implement simple static TLS 20 years ago
workqueue.cc Framework for relocation scanning. Implement simple static TLS 20 years ago
workqueue.h Framework for relocation scanning. Implement simple static TLS 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.