mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 06:43:36 +08:00
* elf32-xtensa.c (relocations_reach): Skip range check for
absolute literals.
This commit is contained in:
parent
4945bb8a8e
commit
d638e0acb3
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user