From: Ian Lance Taylor Date: Sat, 28 Feb 2009 18:08:30 +0000 (+0000) Subject: * README: --gc-sections and map files are now supported. Document X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14359ca0dc033417af8fdf0fe5e3d68913e97197;p=binutils-gdb.git * README: --gc-sections and map files are now supported. Document some build requirements. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index de4597ec872..cac34053e24 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,8 @@ 2009-02-28 Ian Lance Taylor + * README: --gc-sections and map files are now supported. Document + some build requirements. + PR 6992 * symtab.cc (Symbol_table::sized_write_section_symbol): In a relocatable link set the value of the section symbol to zero. diff --git a/gold/README b/gold/README index 49de60ad872..8891d624d65 100644 --- a/gold/README +++ b/gold/README @@ -17,9 +17,7 @@ omissions--features of the GNU linker not currently supported in gold--are: * MEMORY regions in linker scripts * MRI compatible linker scripts - * linker map files (-M, -Map) * cross-reference reports (--cref) - * linker garbage collection (--gc-sections) * position independent executables (-pie) * various other minor options @@ -51,3 +49,16 @@ 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 is known to work. g++ 3.2 and g++ +3.4.3 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.