aboutsummaryrefslogtreecommitdiff
path: root/bfd/aout.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-11 02:22:21 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-11 02:22:21 +0000
commit8e3c8f47554a4f15fde5aa49ba69976f490f68c5 (patch)
tree1c78d50cfa8db9b2669d4ae86c9f81d340557003 /bfd/aout.c
parent22ddf9bcc545247e940cc0177a234362cb239457 (diff)
downloadgdb-8e3c8f47554a4f15fde5aa49ba69976f490f68c5.zip
gdb-8e3c8f47554a4f15fde5aa49ba69976f490f68c5.tar.gz
gdb-8e3c8f47554a4f15fde5aa49ba69976f490f68c5.tar.bz2
*** empty log message ***
Diffstat (limited to 'bfd/aout.c')
-rwxr-xr-xbfd/aout.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/aout.c b/bfd/aout.c
index b8586d9..d9518d3 100755
--- a/bfd/aout.c
+++ b/bfd/aout.c
@@ -722,15 +722,15 @@ DEFUN(aout_slurp_symbol_table, (abfd),
/* run through the table and byte swap if needed */
for (sym_pointer = syms; sym_pointer < sym_end; sym_pointer++) {
sym_pointer->n_un.n_strx =
- bfd_h_get_x (abfd, &sym_pointer->n_un.n_strx);
+ bfd_h_getlong (abfd, &sym_pointer->n_un.n_strx);
sym_pointer->n_desc =
- bfd_h_get_x (abfd, &sym_pointer->n_desc);
+ bfd_h_getshort (abfd, &sym_pointer->n_desc);
sym_pointer->n_value =
- bfd_h_get_x (abfd, &sym_pointer->n_value);
+ bfd_h_getlong (abfd, &sym_pointer->n_value);
sym_pointer->n_other = (char)
- bfd_h_get_x(abfd, &sym_pointer->n_other);
+ bfd_h_getchar(abfd, &sym_pointer->n_other);
sym_pointer->n_type = (char)
- bfd_h_get_x(abfd, &sym_pointer->n_type);
+ bfd_h_getchar(abfd, &sym_pointer->n_type);
}
/* Run through table and copy values */