aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-08-22 18:26:32 +0000
committerCary Coutant <ccoutant@google.com>2012-08-22 18:26:32 +0000
commit1e2bee4f5f1bdeb8c5cadbecf9d0b92e60a8bd13 (patch)
tree149f78c9b9357cf5c3e2f70a22c7e3fbb0cb5cc2 /gold/layout.cc
parent522002f96cdfe306cb3385d075a5ae9f8381969e (diff)
downloadgdb-1e2bee4f5f1bdeb8c5cadbecf9d0b92e60a8bd13.zip
gdb-1e2bee4f5f1bdeb8c5cadbecf9d0b92e60a8bd13.tar.gz
gdb-1e2bee4f5f1bdeb8c5cadbecf9d0b92e60a8bd13.tar.bz2
2012-08-22 Cary Coutant <ccoutant@google.com>
gold/ * layout.cc (Layout::include_section): Don't assert on GROUP sections with --emit-relocs.
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index 1e31cce..db6b6ac 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -606,8 +606,7 @@ Layout::include_section(Sized_relobj_file<size, big_endian>*, const char* name,
case elfcpp::SHT_GROUP:
// If we are emitting relocations these should be handled
// elsewhere.
- gold_assert(!parameters->options().relocatable()
- && !parameters->options().emit_relocs());
+ gold_assert(!parameters->options().relocatable());
return false;
case elfcpp::SHT_PROGBITS: