![]() |
Welcome to ftp.nluug.nl Current directory: /pub/pub/ftp/NetBSD/NetBSD-current/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-2022 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/ 26-Jun-2024 05:01 -
po/ 24-Dec-2022 04:01 -
ChangeLog 24-Dec-2022 04:01 7.8K
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
ChangeLog-2020 23-Dec-2022 20:01 20K
Makefile.am 25-Dec-2022 04:00 11K
Makefile.in 24-Dec-2022 04:01 61K
NEWS 24-Dec-2022 04:01 2.2K
README 24-Dec-2022 04:01 2.8K
TODO 18-Aug-2009 12:07 969
aarch64-reloc-property.cc 24-Dec-2022 04:01 5.1K
aarch64-reloc-property.h 24-Dec-2022 04:01 7.0K
aarch64-reloc.def 24-Dec-2022 04:01 14K
aarch64.cc 24-Dec-2022 04:01 269K
aclocal.m4 07-Nov-2018 04:00 44K
archive.cc 24-Dec-2022 04:01 38K
archive.h 24-Dec-2022 04:01 15K
arm-reloc-property.cc 24-Dec-2022 04:01 9.3K
arm-reloc-property.h 24-Dec-2022 04:01 11K
arm-reloc.def 24-Dec-2022 04:01 13K
arm.cc 24-Dec-2022 04:01 422K
attributes.cc 24-Dec-2022 04:01 13K
attributes.h 24-Dec-2022 04:01 11K
binary.cc 24-Dec-2022 04:01 11K
binary.h 24-Dec-2022 04:01 3.2K
common.cc 24-Dec-2022 04:01 9.6K
common.h 24-Dec-2022 04:01 1.6K
compressed_output.cc 24-Dec-2022 04:01 10K
compressed_output.h 24-Dec-2022 04:01 2.6K
config.in 24-Dec-2022 04:01 8.2K
configure 16-Jan-2023 04:00 347K
configure.ac 24-Dec-2022 04:01 22K
configure.tgt 24-Dec-2022 04:01 4.3K
copy-relocs.cc 24-Dec-2022 04:01 8.7K
copy-relocs.h 24-Dec-2022 04:01 5.9K
cref.cc 24-Dec-2022 04:01 10K
cref.h 24-Dec-2022 04:01 2.0K
debug.h 24-Dec-2022 04:01 2.5K
defstd.cc 24-Dec-2022 04:01 7.6K
defstd.h 24-Dec-2022 04:01 1.1K
descriptors.cc 24-Dec-2022 04:01 7.9K
descriptors.h 24-Dec-2022 04:01 3.6K
dirsearch.cc 24-Dec-2022 04:01 7.0K
dirsearch.h 24-Dec-2022 04:01 2.8K
dwarf_reader.cc 24-Dec-2022 04:01 84K
dwarf_reader.h 24-Dec-2022 04:01 35K
dwp.cc 24-Dec-2022 04:01 72K
dwp.h 24-Dec-2022 04:01 3.2K
dynobj.cc 24-Dec-2022 04:01 55K
dynobj.h 24-Dec-2022 04:01 19K
ehframe.cc 24-Dec-2022 04:01 40K
ehframe.h 24-Dec-2022 04:01 16K
errors.cc 24-Dec-2022 04:01 10K
errors.h 24-Dec-2022 04:01 4.1K
expression.cc 24-Dec-2022 04:01 36K
ffsll.c 24-Dec-2022 04:01 1.4K
fileread.cc 24-Dec-2022 04:01 30K
fileread.h 24-Dec-2022 04:01 17K
freebsd.h 24-Dec-2022 04:01 3.0K
ftruncate.c 24-Dec-2022 04:01 2.4K
gc.cc 24-Dec-2022 04:01 2.2K
gc.h 24-Dec-2022 04:01 13K
gdb-index.cc 24-Dec-2022 04:01 40K
gdb-index.h 24-Dec-2022 04:01 7.3K
gold-threads.cc 24-Dec-2022 04:01 9.0K
gold-threads.h 24-Dec-2022 04:01 5.6K
gold.cc 24-Dec-2022 04:01 30K
gold.h 24-Dec-2022 04:01 9.1K
i386.cc 24-Dec-2022 04:01 140K
icf.cc 24-Dec-2022 04:01 43K
icf.h 24-Dec-2022 04:01 6.7K
incremental-dump.cc 24-Dec-2022 04:01 17K
incremental.cc 24-Dec-2022 04:01 97K
incremental.h 24-Dec-2022 04:01 64K
int_encoding.cc 24-Dec-2022 04:01 3.3K
int_encoding.h 24-Dec-2022 04:01 4.9K
layout.cc 24-Dec-2022 04:01 198K
layout.h 24-Dec-2022 04:01 52K
main.cc 24-Dec-2022 04:01 11K
mapfile.cc 24-Dec-2022 04:01 10K
mapfile.h 24-Dec-2022 04:01 2.9K
merge.cc 24-Dec-2022 04:01 19K
merge.h 24-Dec-2022 04:01 15K
mips.cc 24-Dec-2022 04:01 440K
mremap.c 24-Dec-2022 04:01 2.4K
nacl.cc 24-Dec-2022 04:01 1.3K
nacl.h 24-Dec-2022 04:01 6.9K
object.cc 24-Dec-2022 04:01 111K
object.h 24-Dec-2022 04:01 94K
options.cc 24-Dec-2022 04:01 46K
options.h 24-Dec-2022 04:01 87K
output.cc 24-Dec-2022 04:01 157K
output.h 24-Dec-2022 04:01 146K
parameters.cc 24-Dec-2022 04:01 9.6K
parameters.h 24-Dec-2022 04:01 6.3K
plugin.cc 24-Dec-2022 04:01 61K
plugin.h 24-Dec-2022 04:01 17K
powerpc.cc 24-Dec-2022 04:01 384K
pread.c 24-Dec-2022 04:01 1.4K
readsyms.cc 24-Dec-2022 04:01 26K
readsyms.h 24-Dec-2022 04:01 13K
reduced_debug_output.cc 24-Dec-2022 04:01 14K
reduced_debug_output.h 24-Dec-2022 04:01 4.2K
reloc-types.h 24-Dec-2022 04:01 2.7K
reloc.cc 24-Dec-2022 04:01 54K
reloc.h 24-Dec-2022 04:01 38K
resolve.cc 24-Dec-2022 04:01 39K
s390.cc 24-Dec-2022 04:01 147K
script-c.h 24-Dec-2022 04:01 16K
script-sections.cc 24-Dec-2022 04:01 128K
script-sections.h 24-Dec-2022 04:01 11K
script.cc 24-Dec-2022 04:01 96K
script.h 24-Dec-2022 04:01 19K
sparc.cc 24-Dec-2022 04:01 134K
stringpool.cc 24-Dec-2022 04:01 15K
stringpool.h 24-Dec-2022 04:01 13K
symtab.cc 24-Dec-2022 04:01 118K
symtab.h 24-Dec-2022 04:01 64K
system.h 24-Dec-2022 04:01 4.8K
target-reloc.h 24-Dec-2022 04:01 32K
target-select.cc 24-Dec-2022 04:01 5.6K
target-select.h 24-Dec-2022 04:01 8.4K
target.cc 24-Dec-2022 04:01 7.3K
target.h 24-Dec-2022 04:01 41K
tilegx.cc 24-Dec-2022 04:01 189K
timer.cc 24-Dec-2022 04:01 3.1K
timer.h 24-Dec-2022 04:01 1.8K
tls.h 24-Dec-2022 04:01 2.5K
token.h 24-Dec-2022 04:01 7.9K
version.cc 24-Dec-2022 04:01 2.3K
workqueue-internal.h 24-Dec-2022 04:01 2.8K
workqueue-threads.cc 24-Dec-2022 04:01 4.7K
workqueue.cc 24-Dec-2022 04:01 12K
workqueue.h 24-Dec-2022 04:01 7.4K
x86_64.cc 24-Dec-2022 04:01 206K
yyscript.c 24-Dec-2022 04:01 152K
yyscript.h 24-Dec-2022 04:01 11K
yyscript.y 24-Dec-2022 04:01 30K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!