From 51b08ebe94b5dbaa1feb97d2b062e0098e277ea9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 18 Oct 2007 23:20:53 +0000 Subject: Add support for -Bsymbolic. --- gold/parameters.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gold/parameters.h') diff --git a/gold/parameters.h b/gold/parameters.h index 4a19cb6..132aada 100644 --- a/gold/parameters.h +++ b/gold/parameters.h @@ -91,6 +91,12 @@ class Parameters strip_debug() const { return this->strip_ == STRIP_ALL || this->strip_ == STRIP_DEBUG; } + // Whether we are doing a symbolic link, in which all defined + // symbols are bound locally. + bool + symbolic() const + { return this->symbolic_; } + // Whether we are doing a static link--a link in which none of the // input files are shared libraries. This is only known after we // have seen all the input files. @@ -170,6 +176,8 @@ class Parameters std::string sysroot_; // Which symbols to strip. Strip strip_; + // Whether we are doing a symbolic link. + bool symbolic_; // Whether the doing_static_link_ field is valid. bool is_doing_static_link_valid_; -- cgit v1.1