Import xtensa patches from the mainline sources to fix name lookup and sorting.

* xtensa-isa.c (xtensa_isa_init): Don't update lookup table
	entries for sysregs with negative indices.

	* emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback):
	Only check for by_name sorting.
This commit is contained in:
Nick Clifton 2017-09-19 14:59:01 +01:00
parent 50d637ff75
commit 8161f998b6
4 changed files with 33 additions and 18 deletions

View File

@ -1,3 +1,18 @@
2017-09-19 Nick Clifton <nickc@redhat.com>
2.29.1 Release
* version.m4: Bump version to 2.29.1
* configure: Regenerate.
* po/bfd.pot: Regenerate.
2017-09-19 Nick Clifton <nickc@redhat.com>
Import from maiknline:
* xtensa-isa.c (xtensa_isa_init): Don't update lookup table
entries for sysregs with negative indices.
2017-09-19 Alan Modra <amodra@gmail.com>
PR 21441
@ -41,14 +56,6 @@
return from bfd_canonicalize_dynamic_reloc.
* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.
2017-09-15 Nick Clifton <nickc@redhat.com>
2.29.1 Release
* version.m4: Bump version to 2.29.1
* configure: Regenerate.
* po/bfd.pot: Regenerate.
2017-09-14 Nick Clifton <nickc@redhat.com>
Import from mainline:

View File

@ -292,7 +292,8 @@ xtensa_isa_init (xtensa_isa_status *errno_p, char **error_msg_p)
xtensa_sysreg_internal *sreg = &isa->sysregs[n];
is_user = sreg->is_user;
isa->sysreg_table[is_user][sreg->number] = n;
if (sreg->number >= 0)
isa->sysreg_table[is_user][sreg->number] = n;
}
/* Set up the interface lookup table. */
@ -1790,4 +1791,3 @@ xtensa_funcUnit_num_copies (xtensa_isa isa, xtensa_funcUnit fun)
CHECK_FUNCUNIT (intisa, fun, XTENSA_UNDEFINED);
return intisa->funcUnits[fun].num_copies;
}

View File

@ -1,3 +1,18 @@
2017-09-19 Nick Clifton <nickc@redhat.com>
2.29.1 Release
* configure: Regenerate.
* po/ld.pot: Regenerate.
2017-09-19 Nick Clifton <nickc@redhat.com>
Import from mainline:
* emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback):
Only check for by_name sorting.
2017-08-31 Alan Modra <amodra@gmail.com>
* testsuite/ld-elf/eh3.d: Update.
@ -17,13 +32,6 @@
* testsuite/ld-x86-64/tls.exp: Require GCC 5 or above for
"tlsdesc1" and "tlsdesc1 with PIE" tests.
2017-09-15 Nick Clifton <nickc@redhat.com>
2.29.1 Release
* configure: Regenerate.
* po/ld.pot: Regenerate.
2017-08-21 Hans-Peter Nilsson <hp@bitrange.com>
Import from mainline:

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;