public:
General_options();
+ // -e: set entry address.
+ const char*
+ entry() const
+ { return this->entry_; }
+
// -E: export dynamic symbols.
bool
export_dynamic() const
ZLIB_COMPRESSION,
};
+ void
+ set_entry(const char* arg)
+ { this->entry_ = arg; }
+
void
set_export_dynamic()
{ this->export_dynamic_ = true; }
void
add_sysroot();
+ const char* entry_;
bool export_dynamic_;
const char* soname_;
const char* dynamic_linker_;
void
end_group(const char* arg);
+ // Set the entry symbol from a linker script.
+ void
+ set_entry(const char* entry)
+ { this->options_.set_entry(entry); }
+
// Get an option argument--a helper function for special processing.
const char*
get_special_argument(const char* longname, int argc, char** argv,