From 761f377fecdc962ad40882e3a65df6cb12906af6 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 11 Jan 1996 16:27:24 +0000 Subject: * elf-bfd.h (struct bfd_elf_section_data): Add tdata field. (struct elf_obj_tdata): Rename ppc_flags_init field to flags_init. (elf_flags_init): Rename from elf_ppc_flags_init. * elf32-ppc.c (ppc_elf_set_private_flags): Use elf_flags_init, not elf_ppc_flags_init. (ppc_elf_copy_private_bfd_data): Likewise. (ppc_elf_merge_private_bfd_data): Likewise. --- bfd/elf32-ppc.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bfd/elf32-ppc.c') diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index e08b9b7..201d1bb 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -930,11 +930,11 @@ ppc_elf_set_private_flags (abfd, flags) bfd *abfd; flagword flags; { - BFD_ASSERT (!elf_ppc_flags_init (abfd) + BFD_ASSERT (!elf_flags_init (abfd) || elf_elfheader (abfd)->e_flags == flags); elf_elfheader (abfd)->e_flags = flags; - elf_ppc_flags_init (abfd) = true; + elf_flags_init (abfd) = true; return true; } @@ -950,11 +950,11 @@ ppc_elf_copy_private_bfd_data (ibfd, obfd) if (bfd_get_flavour (obfd) != bfd_target_elf_flavour) return true; - BFD_ASSERT (!elf_ppc_flags_init (obfd) + BFD_ASSERT (!elf_flags_init (obfd) || elf_elfheader (obfd)->e_flags == elf_elfheader (ibfd)->e_flags); elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags; - elf_ppc_flags_init (obfd) = true; + elf_flags_init (obfd) = true; return true; } @@ -991,9 +991,9 @@ ppc_elf_merge_private_bfd_data (ibfd, obfd) new_flags = elf_elfheader (ibfd)->e_flags; old_flags = elf_elfheader (obfd)->e_flags; - if (!elf_ppc_flags_init (obfd)) /* First call, no flags set */ + if (!elf_flags_init (obfd)) /* First call, no flags set */ { - elf_ppc_flags_init (obfd) = true; + elf_flags_init (obfd) = true; elf_elfheader (obfd)->e_flags = new_flags; } -- cgit v1.1