![]() |
Welcome to ftp.nluug.nl Current directory: /pub/os/NetBSD/NetBSD-release-10/src/external/gpl3/binutils/dist/gold/ |
|
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-2020 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. |
Name Last modified Size
Parent Directory -
CVS/ 01-Jul-2024 05:08 -
po/ 17-Dec-2022 21:32 -
ChangeLog 04-Apr-2020 01:40 796
ChangeLog-0815 26-Oct-2016 19:30 737K
ChangeLog-2016 15-Apr-2018 00:18 64K
ChangeLog-2017 15-Apr-2018 00:18 31K
ChangeLog-2018 04-Apr-2020 01:40 30K
ChangeLog-2019 04-Apr-2020 01:40 10K
Makefile.am 04-Apr-2020 01:48 11K
Makefile.in 04-Apr-2020 01:40 61K
NEWS 04-Apr-2020 01:40 2.2K
README 04-Apr-2020 01:40 2.8K
TODO 18-Aug-2009 12:16 969
aarch64-reloc-property.cc 04-Apr-2020 01:40 5.1K
aarch64-reloc-property.h 04-Apr-2020 01:40 7.0K
aarch64-reloc.def 04-Apr-2020 01:40 14K
aarch64.cc 04-Apr-2020 01:40 269K
aclocal.m4 06-Nov-2018 22:18 44K
archive.cc 04-Apr-2020 01:40 38K
archive.h 04-Apr-2020 01:40 15K
arm-reloc-property.cc 04-Apr-2020 01:40 9.3K
arm-reloc-property.h 04-Apr-2020 01:40 11K
arm-reloc.def 04-Apr-2020 01:40 13K
arm.cc 04-Apr-2020 01:40 422K
attributes.cc 04-Apr-2020 01:40 13K
attributes.h 04-Apr-2020 01:40 11K
binary.cc 04-Apr-2020 01:40 11K
binary.h 04-Apr-2020 01:40 3.2K
common.cc 04-Apr-2020 01:40 9.6K
common.h 04-Apr-2020 01:40 1.6K
compressed_output.cc 04-Apr-2020 01:40 10K
compressed_output.h 04-Apr-2020 01:40 2.6K
config.in 04-Apr-2020 01:40 7.8K
configure 04-Apr-2020 01:40 343K
configure.ac 04-Apr-2020 01:40 22K
configure.tgt 04-Apr-2020 01:40 4.3K
copy-relocs.cc 04-Apr-2020 01:40 8.7K
copy-relocs.h 04-Apr-2020 01:40 5.9K
cref.cc 04-Apr-2020 01:40 10K
cref.h 04-Apr-2020 01:40 2.0K
debug.h 04-Apr-2020 01:40 2.5K
defstd.cc 04-Apr-2020 01:40 7.6K
defstd.h 04-Apr-2020 01:40 1.1K
descriptors.cc 04-Apr-2020 01:40 7.9K
descriptors.h 04-Apr-2020 01:40 3.6K
dirsearch.cc 04-Apr-2020 01:40 7.0K
dirsearch.h 04-Apr-2020 01:40 2.8K
dwarf_reader.cc 04-Apr-2020 01:40 72K
dwarf_reader.h 04-Apr-2020 01:40 34K
dwp.cc 04-Apr-2020 01:40 72K
dwp.h 04-Apr-2020 01:40 3.2K
dynobj.cc 04-Apr-2020 01:40 55K
dynobj.h 04-Apr-2020 01:40 19K
ehframe.cc 04-Apr-2020 01:40 40K
ehframe.h 04-Apr-2020 01:40 16K
errors.cc 04-Apr-2020 01:40 9.9K
errors.h 04-Apr-2020 01:40 4.1K
expression.cc 04-Apr-2020 01:40 36K
ffsll.c 04-Apr-2020 01:40 1.4K
fileread.cc 04-Apr-2020 01:40 29K
fileread.h 04-Apr-2020 01:40 17K
freebsd.h 04-Apr-2020 01:40 3.0K
ftruncate.c 04-Apr-2020 01:40 2.4K
gc.cc 04-Apr-2020 01:40 2.2K
gc.h 04-Apr-2020 01:40 13K
gdb-index.cc 04-Apr-2020 01:40 40K
gdb-index.h 04-Apr-2020 01:40 7.3K
gold-threads.cc 04-Apr-2020 01:40 9.0K
gold-threads.h 04-Apr-2020 01:40 5.6K
gold.cc 04-Apr-2020 01:40 30K
gold.h 04-Apr-2020 01:40 9.0K
i386.cc 04-Apr-2020 01:40 140K
icf.cc 04-Apr-2020 01:40 42K
icf.h 04-Apr-2020 01:40 6.7K
incremental-dump.cc 04-Apr-2020 01:40 17K
incremental.cc 04-Apr-2020 01:40 96K
incremental.h 04-Apr-2020 01:40 64K
int_encoding.cc 04-Apr-2020 01:40 3.5K
int_encoding.h 04-Apr-2020 01:40 4.9K
layout.cc 04-Apr-2020 01:40 197K
layout.h 04-Apr-2020 01:40 52K
main.cc 04-Apr-2020 01:40 10K
mapfile.cc 04-Apr-2020 01:40 10K
mapfile.h 04-Apr-2020 01:40 2.9K
merge.cc 04-Apr-2020 01:40 19K
merge.h 04-Apr-2020 01:40 15K
mips.cc 04-Apr-2020 01:40 440K
mremap.c 04-Apr-2020 01:40 2.4K
nacl.cc 04-Apr-2020 01:40 1.3K
nacl.h 04-Apr-2020 01:40 6.9K
object.cc 04-Apr-2020 01:40 111K
object.h 04-Apr-2020 01:40 94K
options.cc 04-Apr-2020 01:40 43K
options.h 04-Apr-2020 01:40 85K
output.cc 04-Apr-2020 01:40 158K
output.h 04-Apr-2020 01:40 146K
parameters.cc 04-Apr-2020 01:40 9.6K
parameters.h 04-Apr-2020 01:40 6.3K
plugin.cc 04-Apr-2020 01:40 62K
plugin.h 04-Apr-2020 01:40 17K
powerpc.cc 04-Apr-2020 01:40 364K
pread.c 04-Apr-2020 01:40 1.4K
readsyms.cc 04-Apr-2020 01:40 26K
readsyms.h 04-Apr-2020 01:40 13K
reduced_debug_output.cc 04-Apr-2020 01:40 14K
reduced_debug_output.h 04-Apr-2020 01:40 4.2K
reloc-types.h 04-Apr-2020 01:40 2.7K
reloc.cc 04-Apr-2020 01:40 54K
reloc.h 04-Apr-2020 01:40 38K
resolve.cc 04-Apr-2020 01:40 39K
s390.cc 04-Apr-2020 01:40 147K
script-c.h 04-Apr-2020 01:40 16K
script-sections.cc 04-Apr-2020 01:40 128K
script-sections.h 04-Apr-2020 01:40 11K
script.cc 04-Apr-2020 01:40 96K
script.h 04-Apr-2020 01:40 19K
sparc.cc 04-Apr-2020 01:40 134K
stringpool.cc 04-Apr-2020 01:40 15K
stringpool.h 04-Apr-2020 01:40 13K
symtab.cc 04-Apr-2020 01:40 118K
symtab.h 04-Apr-2020 01:40 64K
system.h 04-Apr-2020 01:40 4.8K
target-reloc.h 04-Apr-2020 01:40 32K
target-select.cc 04-Apr-2020 01:40 5.6K
target-select.h 04-Apr-2020 01:40 8.4K
target.cc 04-Apr-2020 01:40 7.3K
target.h 04-Apr-2020 01:40 41K
tilegx.cc 04-Apr-2020 01:40 189K
timer.cc 04-Apr-2020 01:40 3.1K
timer.h 04-Apr-2020 01:40 1.8K
tls.h 04-Apr-2020 01:40 2.5K
token.h 04-Apr-2020 01:40 7.9K
version.cc 04-Apr-2020 01:40 2.3K
workqueue-internal.h 04-Apr-2020 01:40 2.8K
workqueue-threads.cc 04-Apr-2020 01:40 4.7K
workqueue.cc 04-Apr-2020 01:40 12K
workqueue.h 04-Apr-2020 01:40 7.4K
x86_64.cc 04-Apr-2020 01:40 203K
yyscript.c 04-Apr-2020 01:40 131K
yyscript.h 04-Apr-2020 01:40 7.4K
yyscript.y 04-Apr-2020 01:40 30K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!