forked from Imagelibrary/binutils-gdb
2008-09-11 Chris Demetriou <cgd@google.com>
* options.h (origin): New -z option.
* layout.cc (Layout:finish_dynamic_section): If "-z origin"
is specified, set DF_ORIGIN in DT_FLAGS and set DF_1_ORIGIN
in DT_FLAGS_1.
This commit is contained in:
@@ -837,6 +837,9 @@ class General_options
|
||||
DEFINE_bool(relro, options::DASH_Z, '\0', false,
|
||||
N_("Where possible mark variables read-only after relocation"),
|
||||
N_("Don't mark variables read-only after relocation"));
|
||||
DEFINE_bool(origin, options::DASH_Z, '\0', false,
|
||||
N_("Mark DSO to indicate that needs immediate $ORIGIN "
|
||||
"processing at runtime"), NULL);
|
||||
|
||||
public:
|
||||
typedef options::Dir_list Dir_list;
|
||||
|
||||
Reference in New Issue
Block a user