Home | History | Annotate | only in /toolchain/binutils/binutils-2.25/gold
Up to higher level directory
NameDateSize
aarch64-reloc-property.cc24-Aug-20164.7K
aarch64-reloc-property.h24-Aug-20167K
aarch64-reloc.def24-Aug-201610.4K
aarch64.cc24-Aug-2016256.2K
aclocal.m424-Aug-201635.7K
archive.cc24-Aug-201637.2K
archive.h24-Aug-201615K
arm-reloc-property.cc24-Aug-20169.3K
arm-reloc-property.h24-Aug-201611.2K
arm-reloc.def24-Aug-201613.2K
arm.cc24-Aug-2016414.7K
attributes.cc24-Aug-201613.4K
attributes.h24-Aug-201610.9K
binary.cc24-Aug-201610.3K
binary.h24-Aug-20163.2K
ChangeLog24-Aug-2016682.9K
common.cc24-Aug-20169.6K
common.h24-Aug-20161.6K
compressed_output.cc24-Aug-20167.7K
compressed_output.h24-Aug-20162.5K
config.in24-Aug-20167.4K
configure24-Aug-2016263.6K
configure.ac24-Aug-201620.1K
configure.tgt24-Aug-20164.1K
copy-relocs.cc24-Aug-20167.6K
copy-relocs.h24-Aug-20165.3K
cref.cc24-Aug-201610.2K
cref.h24-Aug-20162K
debug.h24-Aug-20162.4K
defstd.cc24-Aug-20167.6K
defstd.h24-Aug-20161.1K
descriptors.cc24-Aug-20167.9K
descriptors.h24-Aug-20163.6K
dirsearch.cc24-Aug-20167K
dirsearch.h24-Aug-20162.8K
dwarf_reader.cc24-Aug-201681.3K
dwarf_reader.h24-Aug-201634.5K
dwp.cc24-Aug-201672K
dwp.h24-Aug-20163.2K
dynobj.cc24-Aug-201654.1K
dynobj.h24-Aug-201618.6K
ehframe.cc24-Aug-201636.8K
ehframe.h24-Aug-201616K
errors.cc24-Aug-20169.8K
errors.h24-Aug-20164K
expression.cc24-Aug-201634K
ffsll.c24-Aug-20161.4K
fileread.cc24-Aug-201628.9K
fileread.h24-Aug-201617K
freebsd.h24-Aug-20163K
ftruncate.c24-Aug-20162.4K
gc.cc24-Aug-20162.3K
gc.h24-Aug-201612.7K
gdb-index.cc24-Aug-201640K
gdb-index.h24-Aug-20167.3K
gold-threads.cc24-Aug-20169.3K
gold-threads.h24-Aug-20165.6K
gold.cc24-Aug-201631K
gold.h24-Aug-20169K
i386.cc24-Aug-2016133.6K
icf.cc24-Aug-201632.8K
icf.h24-Aug-20165.6K
incremental-dump.cc24-Aug-201616.9K
incremental.cc24-Aug-201696K
incremental.h24-Aug-201664K
int_encoding.cc24-Aug-20163.5K
int_encoding.h24-Aug-20164.9K
layout.cc24-Aug-2016186K
layout.h24-Aug-201649K
main.cc24-Aug-201610.3K
Makefile.am24-Aug-20169.8K
Makefile.in24-Aug-201652K
mapfile.cc24-Aug-201610.2K
mapfile.h24-Aug-20162.9K
merge.cc24-Aug-201620.8K
merge.h24-Aug-201617.8K
mips.cc24-Aug-2016367.6K
mremap.c24-Aug-20162.4K
nacl.cc24-Aug-20161.3K
nacl.h24-Aug-20166.9K
NEWS24-Aug-2016301
object.cc24-Aug-2016100.4K
object.h24-Aug-201688.6K
options.cc24-Aug-201642.1K
options.h24-Aug-201678.6K
output.cc24-Aug-2016155.5K
output.h24-Aug-2016145K
parameters.cc24-Aug-20169.6K
parameters.h24-Aug-20166.3K
plugin.cc24-Aug-201649.8K
plugin.h24-Aug-201615.6K
po/24-Aug-2016
powerpc.cc24-Aug-2016247.7K
pread.c24-Aug-20161.4K
README24-Aug-20162.8K
readsyms.cc24-Aug-201625.5K
readsyms.h24-Aug-201612.6K
reduced_debug_output.cc24-Aug-201614K
reduced_debug_output.h24-Aug-20164.2K
reloc-types.h24-Aug-20162.9K
reloc.cc24-Aug-201652.3K
reloc.h24-Aug-201628.9K
resolve.cc24-Aug-201635.6K
script-c.h24-Aug-201615.7K
script-sections.cc24-Aug-2016121K
script-sections.h24-Aug-201610.4K
script.cc24-Aug-201695.5K
script.h24-Aug-201618.3K
sparc.cc24-Aug-2016129.7K
stringpool.cc24-Aug-201615.3K
stringpool.h24-Aug-201612.6K
symtab.cc24-Aug-2016109.4K
symtab.h24-Aug-201661.5K
system.h24-Aug-20164.6K
target-reloc.h24-Aug-201627.1K
target-select.cc24-Aug-20165.6K
target-select.h24-Aug-20168.4K
target.cc24-Aug-20167.2K
target.h24-Aug-201637.9K
testsuite/24-Aug-2016
tilegx.cc24-Aug-2016187.5K
timer.cc24-Aug-20163.1K
timer.h24-Aug-20161.8K
tls.h24-Aug-20162.5K
TODO24-Aug-2016969
token.h24-Aug-20167.9K
version.cc24-Aug-20162.3K
workqueue-internal.h24-Aug-20162.8K
workqueue-threads.cc24-Aug-20164.7K
workqueue.cc24-Aug-201611.6K
workqueue.h24-Aug-20167.4K
x86_64.cc24-Aug-2016156.7K
yyscript.y24-Aug-201630.2K

README

      1 gold is an ELF linker.  It is intended to have complete support for
      2 ELF and to run as fast as possible on modern systems.  For normal use
      3 it is a drop-in replacement for the older GNU linker.
      4 
      5 gold is part of the GNU binutils.  See ../binutils/README for more
      6 general notes, including where to send bug reports.
      7 
      8 gold was originally developed at Google, and was contributed to the
      9 Free Software Foundation in March 2008.  At Google it was designed by
     10 Ian Lance Taylor, with major contributions by Cary Coutant, Craig
     11 Silverstein, and Andrew Chatham.
     12 
     13 The existing GNU linker manual is intended to be accurate
     14 documentation for features which gold supports.  gold supports most of
     15 the features of the GNU linker for ELF targets.  Notable
     16 omissions--features of the GNU linker not currently supported in
     17 gold--are:
     18   * MRI compatible linker scripts
     19   * cross-reference reports (--cref)
     20   * various other minor options
     21 
     22 
     23 Notes on the code
     24 =================
     25 
     26 These are some notes which may be helpful to people working on the
     27 source code of gold itself.
     28 
     29 gold is written in C++.  It is a GNU program, and therefore follows
     30 the GNU formatting standards as modified for C++.  Source documents in
     31 order of decreasing precedence:
     32     http://www.gnu.org/prep/standards/
     33     http://gcc.gnu.org/onlinedocs/libstdc++/manual/source_code_style.html
     34     http://www.zembu.com/eng/procs/c++style.html
     35 
     36 The linker is intended to have complete support for cross-compilation,
     37 while still supporting the normal case of native linking as fast as
     38 possible.  In order to do this, many classes are actually templates
     39 whose parameter is the ELF file class (e.g., 32 bits or 64 bits).  The
     40 C++ code is the same, but we don't pay the execution time cost of
     41 always using 64-bit integers if the target is 32 bits.  Many of these
     42 class templates also have an endianness parameter: true for
     43 big-endian, false for little-endian.
     44 
     45 The linker is multi-threaded.  The Task class represents a single unit
     46 of work.  Task objects are stored on a single Workqueue object.  Tasks
     47 communicate via Task_token objects.  Task_token objects are only
     48 manipulated while holding the master Workqueue lock.  Relatively few
     49 mutexes are used.
     50 
     51 
     52 Build requirements
     53 ==================
     54 
     55 The gold source code uses templates heavily.  Building it requires a
     56 recent version of g++.  g++ 4.0.3 and 4.1.3 are known to work.  g++
     57 3.2, 3.4.3, and 4.1.2 are known to fail.
     58 
     59 The linker script parser uses features which are only in newer
     60 versions of bison.  bison 2.3 is known to work.  bison 1.26 is known
     61 to fail.  If you are building gold from an official binutils release,
     62 the bison output should already be included.
     63 
     64 
     66 Copyright (C) 2012-2014 Free Software Foundation, Inc.
     67 
     68 Copying and distribution of this file, with or without modification,
     69 are permitted in any medium without royalty provided the copyright
     70 notice and this notice are preserved.
     71