diff options
author | Richard Henderson <rth@redhat.com> | 2000-11-15 19:22:28 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2000-11-15 19:22:28 +0000 |
commit | dac544a8172d3cc1a6468762ae4748ce7da665f9 (patch) | |
tree | 4d03fc3b01349a75ad9ca79e8dd3022b5214659a /bfd/elf64-alpha.c | |
parent | a8761a19f49de4a9997e094ce8f65e2bb501679e (diff) | |
download | gdb-dac544a8172d3cc1a6468762ae4748ce7da665f9.zip gdb-dac544a8172d3cc1a6468762ae4748ce7da665f9.tar.gz gdb-dac544a8172d3cc1a6468762ae4748ce7da665f9.tar.bz2 |
* elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
section with the same ALLOC|LOAD flags as the source section.
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r-- | bfd/elf64-alpha.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index bb20f55..75f0b89 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -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 |