Support assignments and expressions in linker scripts.
This commit is contained in:
parent
cda30489fc
commit
e5756efb6d
21 changed files with 1876 additions and 444 deletions
|
@ -1,6 +1,6 @@
|
|||
// gold.cc -- main linker functions
|
||||
|
||||
// Copyright 2006, 2007 Free Software Foundation, Inc.
|
||||
// Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
// Written by Ian Lance Taylor <iant@google.com>.
|
||||
|
||||
// This file is part of gold.
|
||||
|
@ -202,6 +202,9 @@ queue_middle_tasks(const General_options& options,
|
|||
// appropriate.
|
||||
layout->define_section_symbols(symtab, input_objects->target());
|
||||
|
||||
// Define symbols from any linker scripts.
|
||||
layout->define_script_symbols(symtab, input_objects->target());
|
||||
|
||||
// Read the relocations of the input files. We do this to find
|
||||
// which symbols are used by relocations which require a GOT and/or
|
||||
// a PLT entry, or a COPY reloc. When we implement garbage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue