Fri Sep 1 15:18:50 1995 Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>
authorIan Lance Taylor <ian@airs.com>
Fri, 1 Sep 1995 19:29:43 +0000 (19:29 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 1 Sep 1995 19:29:43 +0000 (19:29 +0000)
commitd6f672b881f21e96280bfdaddb08002a220a0999
treec080b1c6eb91148e532da3c8b8bc3cb208b77cc8
parent0cb705689dfa2158883f11f34bbf1ede2523e51b
Fri Sep  1 15:18:50 1995  Kazumoto Kojima  <kkojima@info.kanagawa-u.ac.jp>

* elflink.h (elf_bfd_final_link): Don't change a DT_INIT or
DT_FINI entry if the appropriate symbol is not in the hash table.

* libelf.h (struct elf_backend_data): Add create_program_headers
and want_hdr_in_seg fields.
* elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not
defined.
(elf_backend_create_program_headers): Likewise.
(elfNN_bed): Initialize create_program_headers and
want_hdr_in_seg.
* elf.c (get_program_header_size): Call create_program_headers
backend routine.
(map_program_segments): Check want_hdr_in_seg backend field.  Call
create_program_headers backend routine.

* elf.c (assign_file_positions_except_relocs): Align non allocated
sections when creating an executable.

* elfcode.h (elf_swap_phdr_in): Make non static.
(elf_swap_phdr_out): Make non static.
* libelf.h (bfd_elf32_swap_phdr_in): Declare.
(bfd_elf32_swap_phdr_out): Declare.
(bfd_elf64_swap_phdr_in): Declare.
(bfd_elf64_swap_phdr_out): Declare.
bfd/ChangeLog
bfd/elflink.h
bfd/libelf.h