old-cross-binutils/gold
2006-10-10 18:54:06 +00:00
..
po Avoid multiple definition errors from linkonce sections. 2006-10-10 18:54:06 +00:00
aclocal.m4
archive.cc Lay out object file sections when we add the symbols to the symbol 2006-10-06 20:40:16 +00:00
archive.h Lay out object file sections when we add the symbols to the symbol 2006-10-06 20:40:16 +00:00
config.in g++ 3.2.2 portability for grhat. 2006-09-26 21:20:56 +00:00
configure g++ 3.2.2 portability for grhat. 2006-09-26 21:20:56 +00:00
configure.ac g++ 3.2.2 portability for grhat. 2006-09-26 21:20:56 +00:00
dirsearch.cc Include <cassert> 2006-08-04 23:20:34 +00:00
dirsearch.h
fileread.cc Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
fileread.h New drop, with first cut of section layout code. 2006-09-21 22:13:18 +00:00
gold-threads.cc
gold-threads.h
gold.cc Lay out object file sections when we add the symbols to the symbol 2006-10-06 20:40:16 +00:00
gold.h Clean up HAVE_MEMBER_TEMPLATE_SPECIFICATIONS somewhat. 2006-09-29 22:34:01 +00:00
i386.cc Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
layout.cc Lay out object file sections when we add the symbols to the symbol 2006-10-06 20:40:16 +00:00
layout.h Lay out object file sections when we add the symbols to the symbol 2006-10-06 20:40:16 +00:00
Makefile.am Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
Makefile.in Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
object.cc Avoid multiple definition errors from linkonce sections. 2006-10-10 18:54:06 +00:00
object.h Avoid multiple definition errors from linkonce sections. 2006-10-10 18:54:06 +00:00
options.cc Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
options.h Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
output.cc Clean up HAVE_MEMBER_TEMPLATE_SPECIFICATIONS somewhat. 2006-09-29 22:34:01 +00:00
output.h Clean up HAVE_MEMBER_TEMPLATE_SPECIFICATIONS somewhat. 2006-09-29 22:34:01 +00:00
README
readsyms.cc Lay out object file sections when we add the symbols to the symbol 2006-10-06 20:40:16 +00:00
readsyms.h Lay out object file sections when we add the symbols to the symbol 2006-10-06 20:40:16 +00:00
reloc.cc Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
reloc.h Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
resolve.cc Lay out object file sections when we add the symbols to the symbol 2006-10-06 20:40:16 +00:00
stringpool.cc Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
stringpool.h Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +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 Avoid multiple definition errors from linkonce sections. 2006-10-10 18:54:06 +00:00
symtab.h Clean up HAVE_MEMBER_TEMPLATE_SPECIFICATIONS somewhat. 2006-09-29 22:34:01 +00:00
target-reloc.h Avoid multiple definition errors from linkonce sections. 2006-10-10 18:54:06 +00:00
target-select.cc Another snapshot of the current state of the sources. Gets to the 2006-08-18 22:29:20 +00:00
target-select.h Another snapshot of the current state of the sources. Gets to the 2006-08-18 22:29:20 +00:00
target.h Snapshot. Now able to produce a minimal executable which actually 2006-09-29 19:58:17 +00:00
workqueue.cc Include <cassert> 2006-08-04 23:20:34 +00:00
workqueue.h New drop, with first cut of section layout code. 2006-09-21 22:13:18 +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.