From 03d411a9272230498572362bb1cd634a1b488145 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 16 Mar 2001 18:49:32 +0000 Subject: [PATCH] Fix syntax errors. --- bfd/ChangeLog | 5 +++++ bfd/coff64-rs6000.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7b1efee5f61..7861c44f7cc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-03-16 Scott Thomason + + * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors. + (xcoff64_swap_sym_out): Fix syntax errors. + 2001-03-16 Richard Sandiford * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning. diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 3d1b8b69eb4..c07c41b509e 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -141,8 +141,8 @@ xcoff64_swap_sym_in (abfd, ext1, in1) struct internal_syment *in = (struct internal_syment *)in1; in->_n._n_n._n_zeroes = 0; - in->_n._n_n._n_offset = bfd_h_get_32(abfd, (bfd_byte *) ext->e_offset); - in->n_value = bfd_h_get_64(abfd, (bfd_byte *) ext->e.e_value); + in->_n._n_n._n_offset = bfd_h_get_32(abfd, (bfd_byte *) ext->e.e.e_offset); + in->n_value = bfd_h_get_64(abfd, (bfd_byte *) ext->e_value); in->n_scnum = bfd_h_get_16(abfd, (bfd_byte *) ext->e_scnum); in->n_type = bfd_h_get_16(abfd, (bfd_byte *) ext->e_type); in->n_sclass = bfd_h_get_8(abfd, ext->e_sclass); @@ -158,8 +158,8 @@ xcoff64_swap_sym_out (abfd, inp, extp) struct internal_syment *in = (struct internal_syment *)inp; SYMENT *ext =(SYMENT *)extp; - bfd_h_put_32(abfd, in->_n._n_n._n_offset, (bfd_byte *) ext->e_offset); - bfd_h_put_64(abfd, in->n_value , (bfd_byte *) ext->e.e_value); + bfd_h_put_32(abfd, in->_n._n_n._n_offset, (bfd_byte *) ext->e.e.e_offset); + bfd_h_put_64(abfd, in->n_value , (bfd_byte *) ext->e_value); bfd_h_put_16(abfd, in->n_scnum , (bfd_byte *) ext->e_scnum); bfd_h_put_16(abfd, in->n_type , (bfd_byte *) ext->e_type); bfd_h_put_8(abfd, in->n_sclass , ext->e_sclass); -- 2.30.2