aboutsummaryrefslogtreecommitdiff
path: root/gold/object.cc
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2010-01-15 01:44:22 +0000
committerSriraman Tallam <tmsriram@google.com>2010-01-15 01:44:22 +0000
commit459e9b03e8f880f6016c3a15b26a4541b0a21e55 (patch)
tree46beca6c77f83d9edd81e0a5606bab99c3fb84dd /gold/object.cc
parent7991dee7827bb5d0343be69d7e34cd0ac9562953 (diff)
downloadgdb-459e9b03e8f880f6016c3a15b26a4541b0a21e55.zip
gdb-459e9b03e8f880f6016c3a15b26a4541b0a21e55.tar.gz
gdb-459e9b03e8f880f6016c3a15b26a4541b0a21e55.tar.bz2
* object.cc (Sized_relobj::do_layout): Change to call layout_gnu_stack
in the first pass of do_layout.
Diffstat (limited to 'gold/object.cc')
-rw-r--r--gold/object.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/object.cc b/gold/object.cc
index 1b90336..7d50514 100644
--- a/gold/object.cc
+++ b/gold/object.cc
@@ -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