aboutsummaryrefslogtreecommitdiff
path: root/bfd/sunos.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-03 23:52:48 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-03 23:52:48 +0000
commitb63165349fd48f5577a3985d7940bcc5377b814d (patch)
tree67b8cda56d2d9787b75c18b02fe81b792542a219 /bfd/sunos.c
parent592ecfb22e725acdb1158010b135068f5c87f603 (diff)
downloadgdb-b63165349fd48f5577a3985d7940bcc5377b814d.zip
gdb-b63165349fd48f5577a3985d7940bcc5377b814d.tar.gz
gdb-b63165349fd48f5577a3985d7940bcc5377b814d.tar.bz2
*** empty log message ***
Diffstat (limited to 'bfd/sunos.c')
-rw-r--r--bfd/sunos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/sunos.c b/bfd/sunos.c
index fdc51a5..0c37efd 100644
--- a/bfd/sunos.c
+++ b/bfd/sunos.c
@@ -1249,7 +1249,7 @@ swap_std_reloc_out (abfd, g, natptr)
bfd_h_putlong (abfd, g->address, natptr->r_address);
- r_length = g->howto->size; /* Size as a power of two */
+ r_length = g->howto->size ; /* Size as a power of two */
r_pcrel = (int) g->howto->pc_relative; /* Relative to PC? */
/* r_baserel, r_jmptable, r_relative??? FIXME-soon */
r_baserel = 0;
@@ -1633,14 +1633,14 @@ sunos4_squirt_out_relocs (abfd, section)
for (natptr = native;
count != 0;
--count, natptr += each_size, ++generic)
- swap_ext_reloc_out (abfd, generic, (struct reloc_ext_bytes *)native);
+ swap_ext_reloc_out (abfd, *generic, (struct reloc_ext_bytes *)natptr);
}
else
{
for (natptr = native;
count != 0;
--count, natptr += each_size, ++generic)
- swap_std_reloc_out(abfd, generic, (struct reloc_std_bytes *)native);
+ swap_std_reloc_out(abfd, *generic, (struct reloc_std_bytes *)natptr);
}
if ( bfd_write ((PTR) native, 1, natsize, abfd) != natsize) {