aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coffcode.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2d9fa25..78d0c98 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 17 15:54:57 1992 Ken Raeburn (Raeburn@Cygnus.COM)
+
+ * coffcode.h (coff_compute_section_file_positions): For I960,
+ don't align sections in file.
+
Tue Jun 16 06:28:21 1992 Ken Raeburn (Raeburn@Cygnus.COM)
* targets.c (struct bfd_target): Added field for target-specific
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index cceb596..dc86777 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -2204,10 +2204,13 @@ DEFUN(coff_compute_section_file_positions,(abfd),
current->filepos = sofar;
+ sofar += current->_raw_size;
+#ifndef I960
/* make sure that this section is of the right size too */
- old_sofar = sofar += current->_raw_size;
+ old_sofar = sofar;
sofar = BFD_ALIGN(sofar, 1 << current->alignment_power);
current->_raw_size += sofar - old_sofar ;
+#endif
previous = current;
}