diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-09 01:22:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-09 01:22:17 +0000 |
commit | 77e655378d930883fad3bb9d08e296b585345360 (patch) | |
tree | 9efa7ada8a29ee0eb9c016e685d97aeaf4003a1f /gold/symtab.h | |
parent | 333eff6027a33e8eb24ddff30827bf17a1e46533 (diff) | |
download | gdb-77e655378d930883fad3bb9d08e296b585345360.zip gdb-77e655378d930883fad3bb9d08e296b585345360.tar.gz gdb-77e655378d930883fad3bb9d08e296b585345360.tar.bz2 |
Track sections for expressions.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r-- | gold/symtab.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gold/symtab.h b/gold/symtab.h index 4d25840..b2417f6 100644 --- a/gold/symtab.h +++ b/gold/symtab.h @@ -568,9 +568,16 @@ class Symbol return true; } - // Return whether this symbol currently has an absolute value. - bool - value_is_absolute() const; + // Return the output section where this symbol is defined. Return + // NULL if the symbol has an absolute value. + Output_section* + output_section() const; + + // Set the symbol's output section. This is used for symbols + // defined in scripts. This should only be called after the symbol + // table has been finalized. + void + set_output_section(Output_section*); // Return whether there should be a warning for references to this // symbol. |