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