From 459e9b03e8f880f6016c3a15b26a4541b0a21e55 Mon Sep 17 00:00:00 2001 From: Sriraman Tallam Date: Fri, 15 Jan 2010 01:44:22 +0000 Subject: [PATCH] * object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack in the first pass of do_layout. --- gold/ChangeLog | 5 +++++ gold/object.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2