diff options
author | Richard Henderson <rth@redhat.com> | 2005-05-22 22:07:31 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2005-05-22 22:07:31 +0000 |
commit | 84478bd5b7fe0d64bb9df265ccc9fc112dc7fef6 (patch) | |
tree | 08772ef34b658442ee34613ec06c4e1578a2582c /bfd/elf64-alpha.c | |
parent | 31c66a55cced225d4a64c023d69b3bcf1de089be (diff) | |
download | gdb-84478bd5b7fe0d64bb9df265ccc9fc112dc7fef6.tar.gz |
* elf64-alpha.c (elf64_alpha_relax_section): Only operate
on SEC_CODE sections.
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r-- | bfd/elf64-alpha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index 252af59c4cd..1778b9226ae 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -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; |