2001-07-11 H.J. Lu <hjl@gnu.org>
* 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.
This commit is contained in:
parent
81f6038f98
commit
824e2cb428
@ -1,3 +1,9 @@
|
|||||||
|
2001-07-11 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* 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 <sje@cup.hp.com>
|
2001-07-11 Steve Ellcey <sje@cup.hp.com>
|
||||||
|
|
||||||
* reloc.c (bfd_reloc_code_type): Add IA64 relocs
|
* reloc.c (bfd_reloc_code_type): Add IA64 relocs
|
||||||
|
@ -2590,12 +2590,9 @@ elf64_alpha_check_relocs (abfd, info, sec, relocs)
|
|||||||
if (sreloc == NULL
|
if (sreloc == NULL
|
||||||
|| !bfd_set_section_flags (dynobj, sreloc,
|
|| !bfd_set_section_flags (dynobj, sreloc,
|
||||||
(((sec->flags
|
(((sec->flags
|
||||||
& SEC_DEBUGGING)
|
& SEC_ALLOC)
|
||||||
? (sec->flags
|
? (SEC_ALLOC
|
||||||
& (SEC_ALLOC
|
| SEC_LOAD) : 0)
|
||||||
| SEC_LOAD))
|
|
||||||
: (SEC_ALLOC
|
|
||||||
| SEC_LOAD))
|
|
||||||
| SEC_HAS_CONTENTS
|
| SEC_HAS_CONTENTS
|
||||||
| SEC_IN_MEMORY
|
| SEC_IN_MEMORY
|
||||||
| SEC_LINKER_CREATED
|
| SEC_LINKER_CREATED
|
||||||
|
Loading…
Reference in New Issue
Block a user