[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /pub/os/BSD/NetBSD/NetBSD-current/src/external/gpl3/binutils/dist/gold/
 
Current bandwidth utilization 2113.36 Mbit/s
Bandwidth utilization bar
Contents of README:
gold is an ELF linker.  It is intended to have complete support for
ELF and to run as fast as possible on modern systems.  For normal use
it is a drop-in replacement for the older GNU linker.

gold is part of the GNU binutils.  See ../binutils/README for more
general notes, including where to send bug reports.

gold was originally developed at Google, and was contributed to the
Free Software Foundation in March 2008.  At Google it was designed by
Ian Lance Taylor, with major contributions by Cary Coutant, Craig
Silverstein, and Andrew Chatham.

The existing GNU linker manual is intended to be accurate
documentation for features which gold supports.  gold supports most of
the features of the GNU linker for ELF targets.  Notable
omissions--features of the GNU linker not currently supported in
gold--are:
  * MRI compatible linker scripts
  * cross-reference reports (--cref)
  * various other minor options


Notes on the code
=================

These are some notes which may be helpful to people working on the
source code of gold itself.

gold is written in C++.  It is a GNU program, and therefore follows
the GNU formatting standards as modified for C++.  Source documents in
order of decreasing precedence:
    http://www.gnu.org/prep/standards/
    http://gcc.gnu.org/onlinedocs/libstdc++/manual/source_code_style.html
    http://www.zembu.com/eng/procs/c++style.html

The linker is intended to have complete support for cross-compilation,
while still supporting the normal case of native linking as fast as
possible.  In order to do this, many classes are actually templates
whose parameter is the ELF file class (e.g., 32 bits or 64 bits).  The
C++ code is the same, but we don't pay the execution time cost of
always using 64-bit integers if the target is 32 bits.  Many of these
class templates also have an endianness parameter: true for
big-endian, false for little-endian.

The linker is multi-threaded.  The Task class represents a single unit
of work.  Task objects are stored on a single Workqueue object.  Tasks
communicate via Task_token objects.  Task_token objects are only
manipulated while holding the master Workqueue lock.  Relatively few
mutexes are used.


Build requirements
==================

The gold source code uses templates heavily.  Building it requires a
recent version of g++.  g++ 4.0.3 and 4.1.3 are known to work.  g++
3.2, 3.4.3, and 4.1.2 are known to fail.

The linker script parser uses features which are only in newer
versions of bison.  bison 2.3 is known to work.  bison 1.26 is known
to fail.  If you are building gold from an official binutils release,
the bison output should already be included.


Copyright (C) 2012-2024 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.

Icon  Name                                                               Last modified      Size  
[DIR] Parent Directory - [DIR] CVS/ 29-Nov-2024 04:02 - [DIR] po/ 01-Jul-2024 05:01 - [TXT] ChangeLog 01-Jul-2024 05:01 9.7K [TXT] ChangeLog-0815 26-Oct-2016 19:30 737K [   ] ChangeLog-2016 15-Apr-2018 00:18 64K [   ] ChangeLog-2017 15-Apr-2018 00:18 31K [TXT] ChangeLog-2018 04-Apr-2020 01:40 30K [   ] ChangeLog-2019 04-Apr-2020 01:40 10K [TXT] ChangeLog-2020 23-Dec-2022 20:01 20K [TXT] Makefile.am 01-Jul-2024 05:01 12K [TXT] Makefile.in 01-Jul-2024 05:01 62K [TXT] NEWS 01-Jul-2024 05:01 2.4K [TXT] README 01-Jul-2024 05:01 2.8K [TXT] TODO 18-Aug-2009 12:07 969 [TXT] aarch64-reloc-property.cc 01-Jul-2024 05:01 5.1K [TXT] aarch64-reloc-property.h 01-Jul-2024 05:01 7.0K [TXT] aarch64-reloc.def 01-Jul-2024 05:01 14K [TXT] aarch64.cc 01-Jul-2024 05:01 270K [TXT] aclocal.m4 01-Jul-2024 05:01 44K [TXT] archive.cc 01-Jul-2024 05:01 38K [TXT] archive.h 01-Jul-2024 05:01 15K [TXT] arm-reloc-property.cc 01-Jul-2024 05:01 9.3K [TXT] arm-reloc-property.h 01-Jul-2024 05:01 11K [TXT] arm-reloc.def 01-Jul-2024 05:01 13K [TXT] arm.cc 01-Jul-2024 05:01 423K [TXT] attributes.cc 01-Jul-2024 05:01 13K [TXT] attributes.h 01-Jul-2024 05:01 11K [TXT] binary.cc 01-Jul-2024 05:01 11K [TXT] binary.h 01-Jul-2024 05:01 3.2K [TXT] common.cc 01-Jul-2024 05:01 9.6K [TXT] common.h 01-Jul-2024 05:01 1.6K [TXT] compressed_output.cc 01-Jul-2024 05:01 11K [TXT] compressed_output.h 01-Jul-2024 05:01 2.6K [TXT] config.in 01-Jul-2024 05:01 9.0K [TXT] configure 02-Jul-2024 05:00 448K [TXT] configure.ac 01-Jul-2024 05:01 23K [TXT] configure.tgt 01-Jul-2024 05:01 4.4K [TXT] copy-relocs.cc 01-Jul-2024 05:01 8.7K [TXT] copy-relocs.h 01-Jul-2024 05:01 5.9K [TXT] cref.cc 01-Jul-2024 05:01 10K [TXT] cref.h 01-Jul-2024 05:01 2.0K [TXT] debug.h 01-Jul-2024 05:01 2.5K [TXT] defstd.cc 01-Jul-2024 05:01 7.6K [TXT] defstd.h 01-Jul-2024 05:01 1.1K [TXT] descriptors.cc 01-Jul-2024 05:01 7.9K [TXT] descriptors.h 01-Jul-2024 05:01 3.6K [TXT] dirsearch.cc 01-Jul-2024 05:01 7.0K [TXT] dirsearch.h 01-Jul-2024 05:01 2.8K [TXT] dwarf_reader.cc 01-Jul-2024 05:01 84K [TXT] dwarf_reader.h 01-Jul-2024 05:01 35K [TXT] dwp.cc 01-Jul-2024 05:01 72K [TXT] dwp.h 01-Jul-2024 05:01 3.2K [TXT] dynobj.cc 01-Jul-2024 05:01 55K [TXT] dynobj.h 01-Jul-2024 05:01 19K [TXT] ehframe.cc 01-Jul-2024 05:01 40K [TXT] ehframe.h 01-Jul-2024 05:01 16K [TXT] errors.cc 01-Jul-2024 05:01 10K [TXT] errors.h 01-Jul-2024 05:01 4.1K [TXT] expression.cc 01-Jul-2024 05:01 36K [TXT] ffsll.c 01-Jul-2024 05:01 1.4K [TXT] fileread.cc 01-Jul-2024 05:01 30K [TXT] fileread.h 01-Jul-2024 05:01 17K [TXT] freebsd.h 01-Jul-2024 05:01 3.0K [TXT] ftruncate.c 01-Jul-2024 05:01 2.4K [TXT] gc.cc 01-Jul-2024 05:01 2.2K [TXT] gc.h 01-Jul-2024 05:01 13K [TXT] gdb-index.cc 01-Jul-2024 05:01 40K [TXT] gdb-index.h 01-Jul-2024 05:01 7.3K [TXT] gold-threads.cc 01-Jul-2024 05:01 9.0K [TXT] gold-threads.h 01-Jul-2024 05:01 5.6K [TXT] gold.cc 01-Jul-2024 05:01 30K [TXT] gold.h 01-Jul-2024 05:01 9.1K [TXT] i386.cc 01-Jul-2024 05:01 140K [TXT] icf.cc 01-Jul-2024 05:01 43K [TXT] icf.h 01-Jul-2024 05:01 6.7K [TXT] incremental-dump.cc 01-Jul-2024 05:01 17K [TXT] incremental.cc 01-Jul-2024 05:01 97K [TXT] incremental.h 01-Jul-2024 05:01 64K [TXT] int_encoding.cc 01-Jul-2024 05:01 3.3K [TXT] int_encoding.h 01-Jul-2024 05:01 4.9K [TXT] layout.cc 01-Jul-2024 05:01 200K [TXT] layout.h 01-Jul-2024 05:01 52K [TXT] main.cc 01-Jul-2024 05:01 11K [TXT] mapfile.cc 01-Jul-2024 05:01 10K [TXT] mapfile.h 01-Jul-2024 05:01 2.9K [TXT] merge.cc 01-Jul-2024 05:01 19K [TXT] merge.h 01-Jul-2024 05:01 15K [TXT] mips.cc 01-Jul-2024 05:01 441K [TXT] mremap.c 01-Jul-2024 05:01 2.4K [TXT] nacl.cc 01-Jul-2024 05:01 1.3K [TXT] nacl.h 01-Jul-2024 05:01 6.9K [TXT] object.cc 01-Jul-2024 05:01 112K [TXT] object.h 01-Jul-2024 05:01 94K [TXT] options.cc 01-Jul-2024 05:01 46K [TXT] options.h 01-Jul-2024 05:01 87K [TXT] output.cc 01-Jul-2024 05:01 157K [TXT] output.h 01-Jul-2024 05:01 146K [TXT] parameters.cc 01-Jul-2024 05:01 9.6K [TXT] parameters.h 01-Jul-2024 05:01 6.3K [TXT] plugin.cc 01-Jul-2024 05:01 61K [TXT] plugin.h 01-Jul-2024 05:01 17K [TXT] powerpc.cc 01-Jul-2024 05:01 386K [TXT] pread.c 01-Jul-2024 05:01 1.4K [TXT] readsyms.cc 01-Jul-2024 05:01 26K [TXT] readsyms.h 01-Jul-2024 05:01 13K [TXT] reduced_debug_output.cc 01-Jul-2024 05:01 14K [TXT] reduced_debug_output.h 01-Jul-2024 05:01 4.2K [TXT] reloc-types.h 01-Jul-2024 05:01 2.7K [TXT] reloc.cc 01-Jul-2024 05:01 54K [TXT] reloc.h 01-Jul-2024 05:01 38K [TXT] resolve.cc 01-Jul-2024 05:01 39K [TXT] s390.cc 01-Jul-2024 05:01 147K [TXT] script-c.h 01-Jul-2024 05:01 16K [TXT] script-sections.cc 01-Jul-2024 05:01 128K [TXT] script-sections.h 01-Jul-2024 05:01 11K [TXT] script.cc 01-Jul-2024 05:01 96K [TXT] script.h 01-Jul-2024 05:01 19K [TXT] sparc.cc 01-Jul-2024 05:01 134K [TXT] stringpool.cc 01-Jul-2024 05:01 15K [TXT] stringpool.h 01-Jul-2024 05:01 13K [TXT] symtab.cc 01-Jul-2024 05:01 118K [TXT] symtab.h 01-Jul-2024 05:01 64K [TXT] system.h 01-Jul-2024 05:01 4.8K [TXT] target-reloc.h 01-Jul-2024 05:01 32K [TXT] target-select.cc 01-Jul-2024 05:01 5.6K [TXT] target-select.h 01-Jul-2024 05:01 8.4K [TXT] target.cc 01-Jul-2024 05:01 7.3K [TXT] target.h 01-Jul-2024 05:01 41K [TXT] tilegx.cc 01-Jul-2024 05:01 189K [TXT] timer.cc 01-Jul-2024 05:01 3.1K [TXT] timer.h 01-Jul-2024 05:01 1.8K [TXT] tls.h 01-Jul-2024 05:01 2.5K [TXT] token.h 01-Jul-2024 05:01 7.9K [TXT] version.cc 01-Jul-2024 05:01 2.3K [TXT] workqueue-internal.h 01-Jul-2024 05:01 2.8K [TXT] workqueue-threads.cc 01-Jul-2024 05:01 4.7K [TXT] workqueue.cc 01-Jul-2024 05:01 12K [TXT] workqueue.h 01-Jul-2024 05:01 7.4K [TXT] x86_64.cc 01-Jul-2024 05:01 195K [TXT] yyscript.c 01-Jul-2024 05:01 152K [TXT] yyscript.h 01-Jul-2024 05:01 11K [TXT] yyscript.y 01-Jul-2024 05:01 30K

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!