diff options
author | Ian Lance Taylor <iant@google.com> | 2006-11-29 17:56:40 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-11-29 17:56:40 +0000 |
commit | a3ad94edd406b9abc26493761764d4034dda69fa (patch) | |
tree | 96485e8bba91a4aa51f34b0d3738ef3e7ddcbac3 /gold/reloc.h | |
parent | 2006-11-29 Paul Brook <paul@codesourcery.com> (diff) | |
download | binutils-gdb-a3ad94edd406b9abc26493761764d4034dda69fa.tar.gz binutils-gdb-a3ad94edd406b9abc26493761764d4034dda69fa.tar.bz2 binutils-gdb-a3ad94edd406b9abc26493761764d4034dda69fa.zip |
Hash tables, dynamic section, i386 PLT, gold_assert.
Diffstat (limited to 'gold/reloc.h')
-rw-r--r-- | gold/reloc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/reloc.h b/gold/reloc.h index 9b0518e5d90..7829440bf49 100644 --- a/gold/reloc.h +++ b/gold/reloc.h @@ -10,9 +10,11 @@ namespace gold { +class General_options; class Relobj; class Read_relocs_data; class Stringpool; +class Symbol; class Layout; // A class to read the relocations for an object file, and then queue @@ -227,6 +229,12 @@ public: { This::template pcrel<64>(view, value, address); } + + // Return whether we need a COPY reloc for a reloc against GSYM, + // which is being applied to section SHNDX in OBJECT. + static bool + need_copy_reloc(const General_options*, Relobj* object, unsigned int shndx, + Symbol* gsym); }; } // End namespace gold. |