diff options
author | Bob Wilson <bob.wilson@acm.org> | 2005-10-03 21:49:17 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2005-10-03 21:49:17 +0000 |
commit | d638e0acb3930103ce173e42b7f3d971e660fe39 (patch) | |
tree | 35ae67e2fd8fbc0c4be1d1c622f30f6306c20883 /bfd/elf32-xtensa.c | |
parent | Add Sterling Augustine's name to my change on 2005-09-30. (diff) | |
download | binutils-gdb-d638e0acb3930103ce173e42b7f3d971e660fe39.tar.gz binutils-gdb-d638e0acb3930103ce173e42b7f3d971e660fe39.tar.bz2 binutils-gdb-d638e0acb3930103ce173e42b7f3d971e660fe39.zip |
* elf32-xtensa.c (relocations_reach): Skip range check for
absolute literals.
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r-- | bfd/elf32-xtensa.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index fc235deeb53..e565942bff5 100644 --- 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) { |