diff options
author | Ian Lance Taylor <ian@airs.com> | 2012-09-12 18:29:18 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2012-09-12 18:29:18 +0000 |
commit | d77a055577382396ffb49b3b32c18198684f749f (patch) | |
tree | d387df11a6c7cf9f09f5c9ad216a2b76e0190187 /gold/incremental.h | |
parent | f41aef5f6e10edcded9a747dc2bdc9832b940dc7 (diff) | |
download | gdb-d77a055577382396ffb49b3b32c18198684f749f.zip gdb-d77a055577382396ffb49b3b32c18198684f749f.tar.gz gdb-d77a055577382396ffb49b3b32c18198684f749f.tar.bz2 |
PR gold/14570
* output.cc: Rename Output_data_got template parameter from size
to got_size for all functions. Compile all variants of
Output_data_got.
(Output_data_got::Got_entry::write): Correct use of size for
symbol value. Use local_is_tls rather than casting to
Sized_relobj_file.
* object.h (class Object): Add local_is_tls and do_local_is_tls.
(class Sized_relobj_file): Add do_local_is_tls.
* incremental.h (class Sized_relobj_incr): Add do_local_is_tls.
Diffstat (limited to 'gold/incremental.h')
-rw-r--r-- | gold/incremental.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gold/incremental.h b/gold/incremental.h index 20ae772..76d05af 100644 --- a/gold/incremental.h +++ b/gold/incremental.h @@ -1,6 +1,6 @@ // inremental.h -- incremental linking support for gold -*- C++ -*- -// Copyright 2009, 2010, 2011 Free Software Foundation, Inc. +// Copyright 2009, 2010, 2011, 2012 Free Software Foundation, Inc. // Written by Mikolaj Zalewski <mikolajz@google.com>. // This file is part of gold. @@ -1962,6 +1962,10 @@ class Sized_relobj_incr : public Sized_relobj<size, big_endian> do_local_plt_offset(unsigned int) const { gold_unreachable(); } + bool + do_local_is_tls(unsigned int) const + { gold_unreachable(); } + // Return the number of local symbols. unsigned int do_local_symbol_count() const |