diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-07 01:51:25 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-07 01:51:25 +0000 |
commit | 88dd47ac00ee5a932bca9abbd2245c429dfd8f5b (patch) | |
tree | 494b3493adc0f1449c5a33f48002692a9e74ab17 /gold/script.cc | |
parent | 2e444beaa07a2428b6409225840ce12d437d7805 (diff) | |
download | gdb-88dd47ac00ee5a932bca9abbd2245c429dfd8f5b.zip gdb-88dd47ac00ee5a932bca9abbd2245c429dfd8f5b.tar.gz gdb-88dd47ac00ee5a932bca9abbd2245c429dfd8f5b.tar.bz2 |
Implement --just-symbols, including -R FILE. Fix symbol values when
doing a relocatable link.
Diffstat (limited to 'gold/script.cc')
-rw-r--r-- | gold/script.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/script.cc b/gold/script.cc index da2a228..7cf3c7e 100644 --- a/gold/script.cc +++ b/gold/script.cc @@ -1412,7 +1412,7 @@ read_script_file(const char* filename, Command_line* cmdline, // so we invent a fake value. const Task* task = reinterpret_cast<const Task*>(-1); - Input_file_argument input_argument(filename, false, "", + Input_file_argument input_argument(filename, false, "", false, cmdline->position_dependent_options()); Input_file input_file(&input_argument); if (!input_file.open(cmdline->options(), dirsearch, task)) @@ -2038,7 +2038,7 @@ script_add_file(void* closurev, const char* name, size_t length) } Input_file_argument file(name_string.c_str(), false, extra_search_path, - closure->position_dependent_options()); + false, closure->position_dependent_options()); closure->inputs()->add_file(file); } |