Fix assertion failure for xtensa linker.

* emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback):
	Only check for by_name sorting.
This commit is contained in:
Max Filippov
2017-08-02 11:48:07 +01:00
committed by Nick Clifton
parent ddff3d84be
commit 73d5923e48
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-08-02 Max Filippov <jcmvbkbc@gmail.com>
* emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback):
Only check for by_name sorting.
2017-08-02 Nick Clifton <nickc@redhat.com>
PR 21884

View File

@ -1432,7 +1432,7 @@ xtensa_wild_group_interleave_callback (lang_statement_union_type *statement)
struct wildcard_list *l;
for (l = w->section_list; l != NULL; l = l->next)
{
if (l->spec.sorted != none)
if (l->spec.sorted == by_name)
{
no_reorder = TRUE;
break;