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 | 755ab8af10558c40e5090e92c46bbbd89815c292 (diff) | |
download | fsf-binutils-gdb-fbfba5088712eb014b9051baa71f9636359d159e.zip fsf-binutils-gdb-fbfba5088712eb014b9051baa71f9636359d159e.tar.gz fsf-binutils-gdb-fbfba5088712eb014b9051baa71f9636359d159e.tar.bz2 |
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 2467295..67ce1e6 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 |