aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-02-28 18:08:30 +0000
committerIan Lance Taylor <ian@airs.com>2009-02-28 18:08:30 +0000
commit14359ca0dc033417af8fdf0fe5e3d68913e97197 (patch)
tree062c6a79eb76f1a18b3f0f2a9c25b78e506afc01 /gold
parentb4ecf66bbe002c85155bb538a781b2b0b10d44fd (diff)
downloadgdb-14359ca0dc033417af8fdf0fe5e3d68913e97197.zip
gdb-14359ca0dc033417af8fdf0fe5e3d68913e97197.tar.gz
gdb-14359ca0dc033417af8fdf0fe5e3d68913e97197.tar.bz2
* README: --gc-sections and map files are now supported. Document
some build requirements.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog3
-rw-r--r--gold/README15
2 files changed, 16 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index de4597e..cac3405 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,8 @@
2009-02-28 Ian Lance Taylor <iant@google.com>
+ * 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 49de60a..8891d62 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.