From: Max Filippov Date: Wed, 2 Aug 2017 10:48:07 +0000 (+0100) Subject: Fix assertion failure for xtensa linker. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73d5923e480944e2d66bde8c59f4dff298ec57e3;p=binutils-gdb.git Fix assertion failure for xtensa linker. * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback): Only check for by_name sorting. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 9acf64efd7e..ff99df4f3cc 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-08-02 Max Filippov + + * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback): + Only check for by_name sorting. + 2017-08-02 Nick Clifton PR 21884 diff --git a/ld/emultempl/xtensaelf.em b/ld/emultempl/xtensaelf.em index 1447d526a25..3827d91b629 100644 --- a/ld/emultempl/xtensaelf.em +++ b/ld/emultempl/xtensaelf.em @@ -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;