From 92e059d8dc78c3f65e29e48e368f6e47ea0ab671 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 20 Oct 2006 20:40:49 +0000 Subject: Framework for relocation scanning. Implement simple static TLS relocations. --- gold/options.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gold/options.cc') diff --git a/gold/options.cc b/gold/options.cc index e5a16f1..8e0465f 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -217,6 +217,8 @@ options::Command_line_options::options[] = &General_options::set_output_file_name), GENERAL_NOARG('r', NULL, N_("Generate relocatable output"), NULL, ONE_DASH, &General_options::set_relocatable), + GENERAL_NOARG('\0', "shared", N_("Generate shared library"), + NULL, ONE_DASH, &General_options::set_shared), GENERAL_NOARG('\0', "static", N_("Do not link against shared libraries"), NULL, ONE_DASH, &General_options::set_static), SPECIAL('\0', "help", N_("Report usage information"), NULL, @@ -232,6 +234,7 @@ General_options::General_options() : search_path_(), output_file_name_("a.out"), is_relocatable_(false), + is_shared_(false), is_static_(false) { } -- cgit v1.1