mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
* elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
section with the same ALLOC|LOAD flags as the source section.
This commit is contained in:
parent
a8761a19f4
commit
dac544a817
@ -1,3 +1,8 @@
|
||||
2000-11-15 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
|
||||
section with the same ALLOC|LOAD flags as the source section.
|
||||
|
||||
2000-11-14 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
|
||||
|
@ -2548,7 +2548,8 @@ elf64_alpha_check_relocs (abfd, info, sec, relocs)
|
||||
sreloc = bfd_make_section (dynobj, rel_sec_name);
|
||||
if (sreloc == NULL
|
||||
|| !bfd_set_section_flags (dynobj, sreloc,
|
||||
(SEC_ALLOC|SEC_LOAD
|
||||
((sec->flags & (SEC_ALLOC
|
||||
| SEC_LOAD))
|
||||
| SEC_HAS_CONTENTS
|
||||
| SEC_IN_MEMORY
|
||||
| SEC_LINKER_CREATED
|
||||
|
Loading…
Reference in New Issue
Block a user