From: H.J. Lu Date: Thu, 12 Jul 2001 04:24:44 +0000 (+0000) Subject: 2001-07-11 H.J. Lu X-Git-Tag: gdb_5_1-2001-07-29-branchpoint~203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=824e2cb428fe40375e5383db219d3440c80d91b5;p=platform%2Fupstream%2Fbinutils.git 2001-07-11 H.J. Lu * elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD flags when creating the reloc section if the ALLOC flag in the source section is set. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 795d06e..896b54f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2001-07-11 H.J. Lu + + * elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD + flags when creating the reloc section if the ALLOC flag in the + source section is set. + 2001-07-11 Steve Ellcey * reloc.c (bfd_reloc_code_type): Add IA64 relocs diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index 9d0af3c..6ee8f06 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -2590,12 +2590,9 @@ elf64_alpha_check_relocs (abfd, info, sec, relocs) if (sreloc == NULL || !bfd_set_section_flags (dynobj, sreloc, (((sec->flags - & SEC_DEBUGGING) - ? (sec->flags - & (SEC_ALLOC - | SEC_LOAD)) - : (SEC_ALLOC - | SEC_LOAD)) + & SEC_ALLOC) + ? (SEC_ALLOC + | SEC_LOAD) : 0) | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED