OSDN Git Service

* elf-bfd.h (elf_backend_data): Remove use_rela_p. Add
authormmitchel <mmitchel>
Wed, 2 Jun 1999 13:00:57 +0000 (13:00 +0000)
committermmitchel <mmitchel>
Wed, 2 Jun 1999 13:00:57 +0000 (13:00 +0000)
commit9c83e8418e7cc2c3941ca517be8c163c0404d06d
treed4fb569de30586e0faa01e7dc0306932699151ba
parent905b3250dab8f9281de713f6cc05db2dd9c281d7
* elf-bfd.h (elf_backend_data): Remove use_rela_p.  Add
may_use_rel_p, may_use_rela_p, default_use_rela_p.
(bfd_elf_section_data): Add use_rela_p.
* elf.c (bfd_section_from_shdr): Set use_rela_p appropriately.
(_bfd_elf_new_section_hook): Likewise.
(elf_fake_sections): Use may_use_rela_p, etc., instead of
use_rela_p.
(_bfd_elf_copy_private_section_data): Copy use_rela_p.
* elfcode.h (write_relocs): Determine whether or not use rela
relocs based on the relocation section header.
* elflink.c (_bfd_elf_create_dynamic_sections): Use default_use_rela_p
instead of use_rela_p.
* elfxx-target.h (elf_backend_may_use_relp): New macro.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elfNN_bed): Use them.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elfcode.h
bfd/elflink.c
bfd/elfxx-target.h