* elf32-xtensa.c (relocations_reach): Skip range check for

absolute literals.
This commit is contained in:
Bob Wilson 2005-10-03 21:49:17 +00:00
parent 4945bb8a8e
commit d638e0acb3
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-10-03 David Heine <dlheine@tensilica.com>
* elf32-xtensa.c (relocations_reach): Skip range check for
absolute literals.
2005-10-03 Alan Modra <amodra@bigpond.net.au>
* elf.c (_bfd_elf_get_synthetic_symtab): Set BSF_GLOBAL on

View File

@ -7462,6 +7462,11 @@ relocations_reach (source_reloc *reloc,
!= sec->output_section)
return FALSE;
/* Absolute literals in the same output section can always be
combined. */
if (reloc[i].is_abs_literal)
continue;
/* A literal with no PC-relative relocations can be moved anywhere. */
if (reloc[i].opnd != -1)
{