From: Sriraman Tallam Date: Fri, 15 Jan 2010 01:44:22 +0000 (+0000) Subject: * object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=459e9b03e8f880f6016c3a15b26a4541b0a21e55;p=binutils-gdb.git * object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack in the first pass of do_layout. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index c6d0c160d78..09c516b5000 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-01-14 Sriraman Tallam + + * object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack + in the first pass of do_layout. + 2010-01-13 Doug Kwan * arm.cc (Arm_relobj::section_needs_reloc_stub_scanning, diff --git a/gold/object.cc b/gold/object.cc index 1b903368f30..7d505147cc0 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -1321,7 +1321,7 @@ Sized_relobj::do_layout(Symbol_table* symtab, } } - if (!is_gc_pass_one) + if (!is_gc_pass_two) layout->layout_gnu_stack(seen_gnu_stack, gnu_stack_flags); // When doing a relocatable link handle the reloc sections at the