* object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack

in the first pass of do_layout.
This commit is contained in:
Sriraman Tallam 2010-01-15 01:44:22 +00:00
parent 7991dee782
commit 459e9b03e8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-01-14 Sriraman Tallam <tmsriram@google.com>
* object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack
in the first pass of do_layout.
2010-01-13 Doug Kwan <dougkwan@google.com>
* arm.cc (Arm_relobj::section_needs_reloc_stub_scanning,

View File

@ -1321,7 +1321,7 @@ Sized_relobj<size, big_endian>::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