* layout.cc (Layout::layout_gnu_stack): Add warnings for executable
authorCary Coutant <ccoutant@google.com>
Thu, 9 Dec 2010 23:19:50 +0000 (23:19 +0000)
committerCary Coutant <ccoutant@google.com>
Thu, 9 Dec 2010 23:19:50 +0000 (23:19 +0000)
commit83e17bd5ed3c2586f558202172bf9f52ac80650c
tree3e1249454b28872800852006958bd7e5e27c2705
parentf9bbfb18bec91f344bcc74343ad77c8a0e49ed4e
* layout.cc (Layout::layout_gnu_stack): Add warnings for executable
stack.
* layout.h (Layout::layout_gnu_stack): Add pointer to Object
parameter; change all callers.
* object.cc (Sized_relobj::do_layout): Adjust call to layout_gnu_stack.
* options.h (warn_execstack): New option.
gold/ChangeLog
gold/layout.cc
gold/layout.h
gold/object.cc
gold/options.h