aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/xtensaelf.em
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-08-02 11:48:07 +0100
committerNick Clifton <nickc@redhat.com>2017-08-02 11:48:07 +0100
commit73d5923e480944e2d66bde8c59f4dff298ec57e3 (patch)
tree3be541094fede78ca8025185a7c6a124afeed575 /ld/emultempl/xtensaelf.em
parentddff3d84be42fa80c2c9aaa635f2b9269e74e4f9 (diff)
downloadgdb-73d5923e480944e2d66bde8c59f4dff298ec57e3.zip
gdb-73d5923e480944e2d66bde8c59f4dff298ec57e3.tar.gz
gdb-73d5923e480944e2d66bde8c59f4dff298ec57e3.tar.bz2
Fix assertion failure for xtensa linker.
* emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback): Only check for by_name sorting.
Diffstat (limited to 'ld/emultempl/xtensaelf.em')
-rw-r--r--ld/emultempl/xtensaelf.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/xtensaelf.em b/ld/emultempl/xtensaelf.em
index 1447d52..3827d91 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;