2000-12-19 Kazu Hirata <kazu@hxi.com>

* sco5-core.c: Fix formatting.
	* section.c: Likewise.
	* sparclinux.c: Likewise.
	* sparclynx.c: Likewise.
	* sparcnetbsd.c: Likewise.
	* srec.c: Likewise.
	* stabs.c: Likewise.
	* stab-syms.c: Likewise.
	* sunos.c: Likewise.
	* syms.c: Likewise.
	* sysdep.h: Likewise.
This commit is contained in:
Kazu Hirata
2000-12-20 00:21:57 +00:00
parent e30839fee3
commit 7b82c249fa
12 changed files with 100 additions and 110 deletions

View File

@@ -24,7 +24,7 @@ SUBSECTION
S-Record handling
DESCRIPTION
Ordinary S-Records cannot hold anything but addresses and
data, so that's all that we implement.
@@ -42,10 +42,10 @@ DESCRIPTION
up and output them when it's time to close the bfd.
An s record looks like:
EXAMPLE
S<type><length><address><data><checksum>
DESCRIPTION
Where
o length
@@ -61,7 +61,7 @@ DESCRIPTION
7) four byte address termination record
8) three byte address termination record
9) two byte address termination record
o address
is the start address of the data following, or in the case of
a termination record, the start address of the image
@@ -71,7 +71,6 @@ DESCRIPTION
is the sum of all the raw byte data in the record, from the length
upwards, modulo 256 and subtracted from 255.
SUBSECTION
Symbol S-Record handling
@@ -101,7 +100,7 @@ EXAMPLE
DESCRIPTION
We allow symbols to be anywhere in the data stream - the module names
are always ignored.
*/
#include "bfd.h"
@@ -882,7 +881,7 @@ srec_set_section_contents (abfd, section, location, offset, bytes_to_do)
regardless of the siez of the addresses. */
if (S3Forced)
tdata->type = 3;
else if ((section->lma + offset + bytes_to_do - 1) <= 0xffff)
else if ((section->lma + offset + bytes_to_do - 1) <= 0xffff)
; /* The default, S1, is OK. */
else if ((section->lma + offset + bytes_to_do - 1) <= 0xffffff
&& tdata->type <= 2)