binutils-gdb/gold
2007-09-21 15:54:07 +00:00
..
po From Craig Silverstein: Only sort for suffixes with -O2. 2007-09-21 15:54:07 +00:00
testsuite Update for have_code_fill field. 2007-09-21 06:25:35 +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 Add global parameters. 2007-09-21 07:20:01 +00:00
archive.h Add global parameters. 2007-09-21 07:20:01 +00:00
common.cc Add control over template specialization. 2007-09-19 06:01:35 +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 Add support for --enable-target to control which template 2007-09-04 20:00:53 +00:00
configure Add support for --enable-target to control which template 2007-09-04 20:00:53 +00:00
configure.ac Add support for --enable-target to control which template 2007-09-04 20:00:53 +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 Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +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.cc Add global parameters. 2007-09-21 07:20:01 +00:00
dynobj.h Add global parameters. 2007-09-21 07:20:01 +00:00
fileread.cc Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
fileread.h Implement --whole-archive. 2007-08-21 23:37:56 +00:00
gold-threads.cc Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
gold-threads.h Initial CVS checkin of gold 2006-08-04 23:10:59 +00:00
gold.cc Can now dynamically link hello, world. 2006-12-01 16:51:25 +00:00
gold.h Actually define GOLD_GOLD_H multiple inclusion macro. 2007-09-21 06:25:19 +00:00
i386.cc Initialize count_ field, tweak parameters testing. 2007-09-21 07:34:51 +00:00
layout.cc Add global parameters. 2007-09-21 07:20:01 +00:00
layout.h gcc 3.2.2 and 4.1.0 portability hacks. 2006-12-06 00:28:03 +00:00
main.cc Add global parameters. 2007-09-21 07:20:01 +00:00
Makefile.am Add global parameters. 2007-09-21 07:20:01 +00:00
Makefile.in Add global parameters. 2007-09-21 07:20:01 +00:00
merge.cc Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
merge.h Set Stringpool zero_null option via a call, not a default constructor 2007-09-21 06:12:32 +00:00
object.cc Add global parameters. 2007-09-21 07:20:01 +00:00
object.h Add global parameters. 2007-09-21 07:20:01 +00:00
options.cc From Craig Silverstein: Add -O option. 2007-09-21 05:43:33 +00:00
options.h From Craig Silverstein: Add -O option. 2007-09-21 05:43:33 +00:00
output.cc Add global parameters. 2007-09-21 07:20:01 +00:00
output.h Add global parameters. 2007-09-21 07:20:01 +00:00
parameters.cc Add global parameters. 2007-09-21 07:20:01 +00:00
parameters.h Add global parameters. 2007-09-21 07:20:01 +00:00
README Initial CVS checkin of gold 2006-08-04 23:10:59 +00:00
readsyms.cc Add global parameters. 2007-09-21 07:20:01 +00:00
readsyms.h Add global parameters. 2007-09-21 07:20:01 +00:00
reloc-types.h Snapshot. Includes first cut at output relocation sections. 2006-11-16 00:38:25 +00:00
reloc.cc Add support for --enable-target to control which template 2007-09-04 20:00:53 +00:00
reloc.h Add support for SHF_MERGE sections. 2007-05-16 17:42:48 +00:00
resolve.cc Let special symbols override existing symbols rather than 2007-09-19 06:02:29 +00:00
script-c.h More dynamic object support, initial scripting support. 2006-11-14 19:21:05 +00:00
script.cc Make relative references in linker scripts absolute and update a 2007-08-21 21:29:12 +00:00
script.h More dynamic object support, initial scripting support. 2006-11-14 19:21:05 +00:00
stringpool.cc From Craig Silverstein: Only sort for suffixes with -O2. 2007-09-21 15:54:07 +00:00
stringpool.h Set Stringpool zero_null option via a call, not a default constructor 2007-09-21 06:12:32 +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 Let special symbols override existing symbols rather than 2007-09-19 06:02:29 +00:00
symtab.h Add global parameters. 2007-09-21 07:20:01 +00:00
target-reloc.h Make relative references in linker scripts absolute and update a 2007-08-21 21:29:12 +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 Add global parameters. 2007-09-21 07:20:01 +00:00
workqueue.cc Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +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
yyscript.y More dynamic object support, initial scripting support. 2006-11-14 19:21:05 +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.