aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-01-11 16:27:24 +0000
committerIan Lance Taylor <ian@airs.com>1996-01-11 16:27:24 +0000
commit761f377fecdc962ad40882e3a65df6cb12906af6 (patch)
tree9fec93f7ff14bc75fa8697eedaa1f4c4e139056c /bfd/elf32-ppc.c
parenta02716671a11c6dd811094e4a0625383056042b3 (diff)
downloadgdb-761f377fecdc962ad40882e3a65df6cb12906af6.zip
gdb-761f377fecdc962ad40882e3a65df6cb12906af6.tar.gz
gdb-761f377fecdc962ad40882e3a65df6cb12906af6.tar.bz2
* 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.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c12
1 files changed, 6 insertions, 6 deletions
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;
}