]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf.c
2002-03-04 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 4 Mar 2002 20:41:55 +0000 (20:41 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 4 Mar 2002 20:41:55 +0000 (20:41 +0000)
commit25e2787005c2139fd4d92b1c78ce170da77c1672
tree133a6d0a7d55bbdde50dfe70a8a5368ca5c0cab8
parente9682144c14fc809af72bd6c0b8c69731d38679c
2002-03-04  H.J. Lu <hjl@gnu.org>

* elf.c (bfd_section_from_shdr): Handle special sections,
.init_array, .fini_array and .preinit_array.
(elf_fake_sections): Likewise.

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the
DT entry only if the section is in output for .init_array,
.fini_array and .preinit_array. Complain about .preinit_array
section in DSO.
(elf_bfd_final_link): Warn zero size for .init_array,
.fini_array and .preinit_array sections.

* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove
SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY.
(elfNN_ia64_fake_sections): Remove .init_array, .fini_array and
.preinit_array.
bfd/ChangeLog
bfd/elf.c
bfd/elflink.h
bfd/elfxx-ia64.c