mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
From Craig Silverstein: don't permit -s and -r.
This commit is contained in:
@@ -225,6 +225,8 @@ class General_options
|
||||
set_strip_all()
|
||||
{ this->strip_ = STRIP_ALL; }
|
||||
|
||||
// Note: normalize_options() depends on the fact that this turns off
|
||||
// STRIP_ALL if it were already set.
|
||||
void
|
||||
set_strip_debug()
|
||||
{ this->strip_ = STRIP_DEBUG; }
|
||||
@@ -587,6 +589,11 @@ class Command_line
|
||||
void
|
||||
add_file(const char* name, bool is_lib);
|
||||
|
||||
// Examine the result of processing the command-line, and verify
|
||||
// the flags do not contradict each other or are otherwise illegal.
|
||||
void
|
||||
normalize_options();
|
||||
|
||||
General_options options_;
|
||||
Position_dependent_options position_options_;
|
||||
Input_arguments inputs_;
|
||||
|
||||
Reference in New Issue
Block a user