binutils-gdb/gold
Ian Lance Taylor b8e6aad960 Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
..
po Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
testsuite
Makefile.am Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
Makefile.in Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
README
aclocal.m4
archive.cc
archive.h
common.cc
common.h
config.in
configure
configure.ac
defstd.cc
defstd.h
dirsearch.cc
dirsearch.h
dynobj.cc
dynobj.h Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
fileread.cc
fileread.h
gold-threads.cc
gold-threads.h
gold.cc
gold.h
i386.cc Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
layout.cc Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
layout.h
main.cc
merge.cc Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
merge.h Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
object.cc Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
object.h Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
options.cc
options.h
output.cc Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
output.h Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
readsyms.cc
readsyms.h
reloc-types.h
reloc.cc Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
reloc.h Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
resolve.cc
script-c.h
script.cc
script.h
stringpool.cc Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
stringpool.h Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
strtab.h
symtab.cc
symtab.h
target-reloc.h Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
target-select.cc
target-select.h
target.h
workqueue.cc
workqueue.h
yyscript.y

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.