diff options
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r-- | bfd/coff-rs6000.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index ae9a0f6..803b51c 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -4352,7 +4352,7 @@ xcoff_generate_rtinit (bfd *abfd, const char *init, const char *fini, filehdr.f_symptr = scnhdr.s_relptr + scnhdr.s_nreloc * RELSZ; bfd_coff_swap_filehdr_out (abfd, &filehdr, filehdr_ext); - bfd_coff_swap_scnhdr_out (abfd, &scnhdr, scnhdr_ext); + bfd_coff_swap_scnhdr_out (abfd, &scnhdr, scnhdr_ext, NULL); bool ret = true; if (bfd_write (filehdr_ext, FILHSZ, abfd) != FILHSZ || bfd_write (scnhdr_ext, SCNHSZ, abfd) != SCNHSZ @@ -4456,8 +4456,6 @@ const struct xcoff_dwsect_name xcoff_dwsect_names[] = { #define _bfd_xcoff_get_section_contents _bfd_generic_get_section_contents /* For copy private data entry points. */ -#define _bfd_xcoff_init_private_section_data \ - _bfd_generic_init_private_section_data #define _bfd_xcoff_bfd_copy_private_bfd_data \ _bfd_xcoff_copy_private_bfd_data #define _bfd_xcoff_bfd_merge_private_bfd_data \ |