mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 10:03:47 +08:00
* options.cc (General_options::finalize): Disallow -pie and -static.
This commit is contained in:
parent
9ad44fdb9d
commit
f9fa4a6341
@ -1,3 +1,7 @@
|
||||
2012-02-14 Cary Coutant <ccoutant@google.com>
|
||||
|
||||
* options.cc (General_options::finalize): Disallow -pie and -static.
|
||||
|
||||
2012-02-03 Doug Kwan <dougkwan@google.com>
|
||||
|
||||
* arm.cc (Arm_relocate_functions::abs8,
|
||||
|
@ -1203,6 +1203,8 @@ General_options::finalize()
|
||||
gold_fatal(_("-shared and -static are incompatible"));
|
||||
if (this->shared() && this->pie())
|
||||
gold_fatal(_("-shared and -pie are incompatible"));
|
||||
if (this->pie() && this->is_static())
|
||||
gold_fatal(_("-pie and -static are incompatible"));
|
||||
|
||||
if (this->shared() && this->relocatable())
|
||||
gold_fatal(_("-shared and -r are incompatible"));
|
||||
|
Loading…
Reference in New Issue
Block a user