Preserve machine dependent section header flags when reading ELF object file.
commit94cd97e1b351c30115a3ed486c95dd17bbbd833b
authorJim Wilson <wilson@tuliptree.org>
Thu, 5 Oct 2000 22:22:27 +0000 (5 22:22 +0000)
committerJim Wilson <wilson@tuliptree.org>
Thu, 5 Oct 2000 22:22:27 +0000 (5 22:22 +0000)
tree7cb9119c30f010fa05ead61c8eb3a7efe050f849
parent276fab2924394a1760831a6c6c5e56fe4d720a01
Preserve machine dependent section header flags when reading ELF object file.
* elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
field.
* elf.c (_bfd_elf_make_section_from_shdr): Call the
elf_backend_section_flags function.
* elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
code.
(elf64_ia64_section_flags): New function containing flag conversion
code.
(elf_backend_section_flags): Define to elf64_ia64_section_flags.
* elfxx-target.h (elf_backend_section_flags): Define.
(elfNN_bed): Initialize elf_backend_section_flags field.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elf64-ia64.c
bfd/elfxx-target.h