* elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not
authorJakub Jelinek <jakub@redhat.com>
Fri, 24 Aug 2001 11:17:30 +0000 (11:17 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 24 Aug 2001 11:17:30 +0000 (11:17 +0000)
commitfcfbdf319eec497df624afdc1188f29f9ba8159d
tree697adc594533de3754aa2f4b36737b37228e96f7
parent275f450c27ed529e2197c1ec97151740c2e65d8e
* elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not
last.
(elf_link_sort_relocs): Adjust accordingly.

* elf64-alpha.c (struct alpha_elf_link_hash_entry): Add reltext flag.
(elf64_alpha_check_relocs): Set it if section this reloc is against
is read-only.  Set DF_TEXTREL if a RELATIVE reloc is needed against
read-only section.
(elf64_alpha_calc_dynrel_sizes): Set DF_TEXTREL flag if relocation
is is against read-only section.
(elf64_alpha_size_dynamic_sections): Use DF_TEXTREL flag, don't
check section names.
(elf64_alpha_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
bfd/ChangeLog
bfd/elf64-alpha.c
bfd/elflink.h