* elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
relocs into shared lib non-allocated reloc sections.
This commit is contained in:
parent
a8927cfd1a
commit
475c2a7e65
|
@ -1,3 +1,8 @@
|
|||
2002-10-23 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
|
||||
relocs into shared lib non-allocated reloc sections.
|
||||
|
||||
2002-10-23 Nathan Tallent <eraxxon@alumni.rice.edu>
|
||||
|
||||
* dwarf2.c (add_line_info): Ensure that the line_info_table is
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue