aboutsummaryrefslogtreecommitdiff
path: root/gold/symtab.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-13 01:20:38 +0000
committerIan Lance Taylor <iant@google.com>2008-02-13 01:20:38 +0000
commitcaa9d5d9191af934ff7949fea080d72524c92cfa (patch)
tree4735eee01bed88199f39c2ef31ce1a4170e4a358 /gold/symtab.h
parent7508a0934ec2fad27f393d3b1a6e1207dab3fd2d (diff)
downloadgdb-caa9d5d9191af934ff7949fea080d72524c92cfa.zip
gdb-caa9d5d9191af934ff7949fea080d72524c92cfa.tar.gz
gdb-caa9d5d9191af934ff7949fea080d72524c92cfa.tar.bz2
Assignments in linker scripts override definitions from object files.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r--gold/symtab.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/symtab.h b/gold/symtab.h
index b2417f6..8da7a78 100644
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -1078,7 +1078,8 @@ class Symbol_table
define_as_constant(const char* name, const char* version,
uint64_t value, uint64_t symsize, elfcpp::STT type,
elfcpp::STB binding, elfcpp::STV visibility,
- unsigned char nonvis, bool only_if_ref);
+ unsigned char nonvis, bool only_if_ref,
+ bool force_override);
// Define a set of symbols in output sections. If ONLY_IF_REF is
// true, only define them if they are referenced.
@@ -1294,7 +1295,7 @@ class Symbol_table
typename elfcpp::Elf_types<size>::Elf_WXword ssize,
elfcpp::STT type, elfcpp::STB binding,
elfcpp::STV visibility, unsigned char nonvis,
- bool only_if_ref);
+ bool only_if_ref, bool force_override);
// Allocate the common symbols, sized version.
template<int size>