Home | History | Annotate | only in /toolchain/binutils/binutils-2.27/gold
Up to higher level directory
NameDateSize
aarch64-reloc-property.cc21-Aug-20184.7K
aarch64-reloc-property.h21-Aug-20187K
aarch64-reloc.def21-Aug-201810.8K
aarch64.cc21-Aug-2018264.9K
aclocal.m421-Aug-201836K
archive.cc21-Aug-201837.9K
archive.h21-Aug-201815.1K
arm-reloc-property.cc21-Aug-20189.3K
arm-reloc-property.h21-Aug-201811.2K
arm-reloc.def21-Aug-201813.2K
arm.cc21-Aug-2018421.9K
attributes.cc21-Aug-201813.4K
attributes.h21-Aug-201810.9K
binary.cc21-Aug-201810.6K
binary.h21-Aug-20183.2K
ChangeLog21-Aug-201851.6K
ChangeLog-081521-Aug-2018737.1K
common.cc21-Aug-20189.6K
common.h21-Aug-20181.6K
compressed_output.cc21-Aug-201810.3K
compressed_output.h21-Aug-20182.6K
config.in21-Aug-20187.4K
configure21-Aug-2018263.6K
configure.ac21-Aug-201820.5K
configure.tgt21-Aug-20184.3K
copy-relocs.cc21-Aug-20188K
copy-relocs.h21-Aug-20185.7K
cref.cc21-Aug-201810.2K
cref.h21-Aug-20182K
debug.h21-Aug-20182.4K
defstd.cc21-Aug-20187.6K
defstd.h21-Aug-20181.1K
descriptors.cc21-Aug-20187.9K
descriptors.h21-Aug-20183.6K
dirsearch.cc21-Aug-20187K
dirsearch.h21-Aug-20182.8K
dwarf_reader.cc21-Aug-201881.3K
dwarf_reader.h21-Aug-201834.5K
dwp.cc21-Aug-201872.1K
dwp.h21-Aug-20183.2K
dynobj.cc21-Aug-201855K
dynobj.h21-Aug-201818.8K
ehframe.cc21-Aug-201839K
ehframe.h21-Aug-201815.9K
errors.cc21-Aug-20189.9K
errors.h21-Aug-20184K
expression.cc21-Aug-201834.8K
ffsll.c21-Aug-20181.4K
fileread.cc21-Aug-201828.9K
fileread.h21-Aug-201817K
freebsd.h21-Aug-20183K
ftruncate.c21-Aug-20182.4K
gc.cc21-Aug-20182.2K
gc.h21-Aug-201812.3K
gdb-index.cc21-Aug-201840K
gdb-index.h21-Aug-20187.3K
gold-threads.cc21-Aug-20189.3K
gold-threads.h21-Aug-20185.6K
gold.cc21-Aug-201831.7K
gold.h21-Aug-20189.1K
i386.cc21-Aug-2018139.7K
icf.cc21-Aug-201834.4K
icf.h21-Aug-20185.6K
incremental-dump.cc21-Aug-201816.9K
incremental.cc21-Aug-201896.1K
incremental.h21-Aug-201864K
int_encoding.cc21-Aug-20183.5K
int_encoding.h21-Aug-20184.9K
layout.cc21-Aug-2018187.2K
layout.h21-Aug-201849.7K
main.cc21-Aug-201810.3K
Makefile.am21-Aug-201810.1K
Makefile.in21-Aug-201853.1K
mapfile.cc21-Aug-201810.2K
mapfile.h21-Aug-20182.9K
merge.cc21-Aug-201819.2K
merge.h21-Aug-201815.4K
mips.cc21-Aug-2018431.4K
mremap.c21-Aug-20182.4K
nacl.cc21-Aug-20181.3K
nacl.h21-Aug-20186.9K
NEWS21-Aug-2018988
object.cc21-Aug-2018104K
object.h21-Aug-201892.9K
options.cc21-Aug-201842.5K
options.h21-Aug-201879.8K
output.cc21-Aug-2018158K
output.h21-Aug-2018155.7K
parameters.cc21-Aug-20189.6K
parameters.h21-Aug-20186.3K
plugin.cc21-Aug-201853.2K
plugin.h21-Aug-201815.8K
po/21-Aug-2018
powerpc.cc21-Aug-2018278.4K
pread.c21-Aug-20181.4K
README21-Aug-20182.8K
readsyms.cc21-Aug-201825.5K
readsyms.h21-Aug-201812.6K
reduced_debug_output.cc21-Aug-201814K
reduced_debug_output.h21-Aug-20184.2K
reloc-types.h21-Aug-20183.3K
reloc.cc21-Aug-201853.8K
reloc.h21-Aug-201838.3K
resolve.cc21-Aug-201836.4K
s390.cc21-Aug-2018146.4K
script-c.h21-Aug-201815.8K
script-sections.cc21-Aug-2018125.2K
script-sections.h21-Aug-201810.5K
script.cc21-Aug-201895.6K
script.h21-Aug-201818.4K
sparc.cc21-Aug-2018133.6K
stringpool.cc21-Aug-201815.4K
stringpool.h21-Aug-201812.6K
symtab.cc21-Aug-2018114.7K
symtab.h21-Aug-201862.5K
system.h21-Aug-20184.6K
target-reloc.h21-Aug-201830.8K
target-select.cc21-Aug-20185.6K
target-select.h21-Aug-20188.4K
target.cc21-Aug-20187.3K
target.h21-Aug-201839.6K
testsuite/21-Aug-2018
tilegx.cc21-Aug-2018188.8K
timer.cc21-Aug-20183.1K
timer.h21-Aug-20181.8K
tls.h21-Aug-20182.5K
TODO21-Aug-2018969
token.h21-Aug-20187.9K
version.cc21-Aug-20182.3K
workqueue-internal.h21-Aug-20182.8K
workqueue-threads.cc21-Aug-20184.7K
workqueue.cc21-Aug-201811.6K
workqueue.h21-Aug-20187.4K
x86_64.cc21-Aug-2018171.3K
yyscript.y21-Aug-201830.4K

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-2016 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