Fix syntax errors.
authorNick Clifton <nickc@redhat.com>
Fri, 16 Mar 2001 18:49:32 +0000 (18:49 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 16 Mar 2001 18:49:32 +0000 (18:49 +0000)
bfd/ChangeLog
bfd/coff64-rs6000.c

index 7b1efee5f6108fde47d939437cd9482840a8e02f..7861c44f7cc8657255e4b0bbab8582574eb8cc84 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-16  Scott Thomason  <SThomaso@hii.com>
+
+       * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors.
+       (xcoff64_swap_sym_out): Fix syntax errors.
+
 2001-03-16  Richard Sandiford  <rsandifo@redhat.com>
 
        * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning.
index 3d1b8b69eb49a513cb62f16b07f4b995a541cce0..c07c41b509e2b9b9ee52c98b1891221289d5a2a9 100644 (file)
@@ -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);