diff options
author | Jakub Jelinek <jakub@redhat.com> | 2002-10-23 20:21:21 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2002-10-23 20:21:21 +0000 |
commit | f6b924b4ce19bfe2a7f2043baf3f06c864c080c7 (patch) | |
tree | f7b55e39cceb931ca2c8986c91404a8c767dc7e8 /bfd/elf64-alpha.c | |
parent | b83780008289539d2b5d44b7c13b760524636921 (diff) | |
download | gdb-f6b924b4ce19bfe2a7f2043baf3f06c864c080c7.tar.gz |
* elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
relocs into shared lib non-allocated reloc 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 2eb5d104301..ab053f96bfa 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -3100,7 +3100,7 @@ elf64_alpha_check_relocs (abfd, info, sec, relocs) case R_ALPHA_REFLONG: case R_ALPHA_REFQUAD: - if (info->shared || maybe_dynamic) + if ((info->shared && (sec->flags & SEC_ALLOC)) || maybe_dynamic) need = NEED_DYNREL; break; |