old-cross-binutils/gold
2006-12-06 06:28:56 +00:00
..
po Don't emit symbols seen only in dynamic object, don't read duplicate 2006-12-06 06:28:56 +00:00
testsuite Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
aclocal.m4
archive.cc
archive.h
common.cc Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
common.h
config.in
configure Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
configure.ac Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
defstd.cc
defstd.h
dirsearch.cc Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
dirsearch.h
dynobj.cc Don't emit symbols seen only in dynamic object, don't read duplicate 2006-12-06 06:28:56 +00:00
dynobj.h gcc 3.2.2 and 4.1.0 portability hacks. 2006-12-06 00:28:03 +00:00
fileread.cc Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
fileread.h Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
gold-threads.cc Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
gold-threads.h
gold.cc Can now dynamically link hello, world. 2006-12-01 16:51:25 +00:00
gold.h gcc 3.2.2 and 4.1.0 portability hacks. 2006-12-06 00:28:03 +00:00
i386.cc Generate version information. 2006-12-06 00:02:36 +00:00
layout.cc gcc 3.2.2 and 4.1.0 portability hacks. 2006-12-06 00:28:03 +00:00
layout.h gcc 3.2.2 and 4.1.0 portability hacks. 2006-12-06 00:28:03 +00:00
main.cc Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
Makefile.am Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
Makefile.in Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
object.cc Don't emit symbols seen only in dynamic object, don't read duplicate 2006-12-06 06:28:56 +00:00
object.h Don't emit symbols seen only in dynamic object, don't read duplicate 2006-12-06 06:28:56 +00:00
options.cc Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
options.h Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
output.cc Can now dynamically link hello, world. 2006-12-01 16:51:25 +00:00
output.h Generate version information. 2006-12-06 00:02:36 +00:00
README
readsyms.cc Don't emit symbols seen only in dynamic object, don't read duplicate 2006-12-06 06:28:56 +00:00
readsyms.h
reloc-types.h
reloc.cc Generate version information. 2006-12-06 00:02:36 +00:00
reloc.h Added a testsuite. More support for COPY relocations. 2006-11-30 23:52:50 +00:00
resolve.cc Don't emit symbols seen only in dynamic object, don't read duplicate 2006-12-06 06:28:56 +00:00
script-c.h
script.cc Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
script.h
stringpool.cc Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
stringpool.h Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
strtab.h
symtab.cc Don't emit symbols seen only in dynamic object, don't read duplicate 2006-12-06 06:28:56 +00:00
symtab.h Don't emit symbols seen only in dynamic object, don't read duplicate 2006-12-06 06:28:56 +00:00
target-reloc.h Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
target-select.cc
target-select.h
target.h Generate version information. 2006-12-06 00:02:36 +00:00
workqueue.cc Hash tables, dynamic section, i386 PLT, gold_assert. 2006-11-29 17:56:40 +00:00
workqueue.h
yyscript.y

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.