* elf64-alpha.c (elf64_alpha_relax_section): Only operate

on SEC_CODE sections.
This commit is contained in:
Richard Henderson 2005-05-22 22:07:31 +00:00
parent 175ac04375
commit 487c435301
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-05-22 Richard Henderson <rth@redhat.com>
* elf64-alpha.c (elf64_alpha_relax_section): Only operate
on SEC_CODE sections.
2005-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* som.c (try_prev_fixup): Changed type of subspace_reloc_sizep to

View File

@ -1969,7 +1969,7 @@ elf64_alpha_relax_section (abfd, sec, link_info, again)
*again = FALSE;
if (link_info->relocatable
|| (sec->flags & SEC_RELOC) == 0
|| (sec->flags & (SEC_CODE | SEC_RELOC)) != (SEC_CODE | SEC_RELOC)
|| sec->reloc_count == 0)
return TRUE;