diff options
author | Sriraman Tallam <tmsriram@google.com> | 2011-09-19 23:19:16 +0000 |
---|---|---|
committer | Sriraman Tallam <tmsriram@google.com> | 2011-09-19 23:19:16 +0000 |
commit | a8279f827a88f93cd3e0e61afc17c7e08efebeb3 (patch) | |
tree | 82bf8d797f9f962968a8846226b15c1fd334be11 /gold/plugin.h | |
parent | 0c9350c83fd049b1f396a9311a54c6051b0b7a2b (diff) | |
download | gdb-a8279f827a88f93cd3e0e61afc17c7e08efebeb3.zip gdb-a8279f827a88f93cd3e0e61afc17c7e08efebeb3.tar.gz gdb-a8279f827a88f93cd3e0e61afc17c7e08efebeb3.tar.bz2 |
2011-09-19 Sriraman Tallam <tmsriram@google.com>
* plugin.h (should_defer_layout): Modify to check for any_claimed_.
Diffstat (limited to 'gold/plugin.h')
-rw-r--r-- | gold/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/plugin.h b/gold/plugin.h index 8f1db67..4c9445a 100644 --- a/gold/plugin.h +++ b/gold/plugin.h @@ -243,7 +243,7 @@ class Plugin_manager // and we are still in the initial input phase. bool should_defer_layout() const - { return !this->objects_.empty() && !this->in_replacement_phase_; } + { return this->any_claimed_ && !this->in_replacement_phase_; } // Add a regular object to the deferred layout list. These are // objects whose layout has been deferred until after the |