diff options
author | Nick Clifton <nickc@redhat.com> | 2001-03-16 18:49:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-03-16 18:49:32 +0000 |
commit | 03d411a9272230498572362bb1cd634a1b488145 (patch) | |
tree | 488fd47dc8ebb04767e7537d078088656db663c6 | |
parent | 82b66b2339ad9ca90899a42cf632d4934a04c009 (diff) | |
download | gdb-03d411a9272230498572362bb1cd634a1b488145.zip gdb-03d411a9272230498572362bb1cd634a1b488145.tar.gz gdb-03d411a9272230498572362bb1cd634a1b488145.tar.bz2 |
Fix syntax errors.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coff64-rs6000.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7b1efee..7861c44 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 3d1b8b6..c07c41b 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); |