projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4945bb8
)
* elf32-xtensa.c (relocations_reach): Skip range check for
author
Bob Wilson
<bob.wilson@acm.org>
Mon, 3 Oct 2005 21:49:17 +0000
(21:49 +0000)
committer
Bob Wilson
<bob.wilson@acm.org>
Mon, 3 Oct 2005 21:49:17 +0000
(21:49 +0000)
absolute literals.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-xtensa.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 683a88bd63007f1c5b2b8730afae9dc722d28d2e..3ba259bd80db4daf955421340ea354c08daa9453 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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
diff --git
a/bfd/elf32-xtensa.c
b/bfd/elf32-xtensa.c
index fc235deeb53bd5457d575fc421b4ec1ac04e0265..e565942bff5a1b1b6185e769e8cf8bf7951e6dc3 100644
(file)
--- a/
bfd/elf32-xtensa.c
+++ b/
bfd/elf32-xtensa.c
@@
-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)
{