diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-06 20:32:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-06 20:32:10 +0000 |
commit | fbfba5088712eb014b9051baa71f9636359d159e (patch) | |
tree | 6836ec1f682dc1c4954429d9be124c268d530526 /gold/parameters.h | |
parent | Fix group signature handling for relocatable link, add bootstrap (diff) | |
download | binutils-gdb-fbfba5088712eb014b9051baa71f9636359d159e.tar.gz binutils-gdb-fbfba5088712eb014b9051baa71f9636359d159e.tar.bz2 binutils-gdb-fbfba5088712eb014b9051baa71f9636359d159e.zip |
Support creating empty output when there are no input objects.
Diffstat (limited to 'gold/parameters.h')
-rw-r--r-- | gold/parameters.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/parameters.h b/gold/parameters.h index 2467295c857..67ce1e6eff9 100644 --- a/gold/parameters.h +++ b/gold/parameters.h @@ -200,6 +200,11 @@ class Parameters return this->doing_static_link_; } + // Return whether the target field has been set. + bool + is_target_valid() const + { return this->is_target_valid_; } + // The target of the output file we are generating. Target* target() const |