whitespace/comment changes

This commit is contained in:
Ken Raeburn
1993-01-20 22:22:21 +00:00
parent dcf5ddb89b
commit eeeaa7780b

View File

@ -356,7 +356,6 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
{ {
if (segment_info[idx].scnhdr.s_name[0]) if (segment_info[idx].scnhdr.s_name[0])
{ {
struct external_reloc *ext_ptr; struct external_reloc *ext_ptr;
struct external_reloc *external_reloc_vec; struct external_reloc *external_reloc_vec;
unsigned int external_reloc_size; unsigned int external_reloc_size;
@ -372,7 +371,7 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
ext_ptr = external_reloc_vec; ext_ptr = external_reloc_vec;
/* Fill in the internal coff style reloc struct from the /* Fill in the internal coff style reloc struct from the
internal fix list */ internal fix list. */
while (fix_ptr) while (fix_ptr)
{ {
symbolS *symbol_ptr; symbolS *symbol_ptr;
@ -396,8 +395,7 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
intr.r_offset = 0; intr.r_offset = 0;
/* Turn the segment of the symbol into an offset /* Turn the segment of the symbol into an offset. */
*/
if (symbol_ptr) if (symbol_ptr)
{ {
dot = segment_info[S_GET_SEGMENT (symbol_ptr)].dot; dot = segment_info[S_GET_SEGMENT (symbol_ptr)].dot;
@ -414,8 +412,6 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
else else
{ {
intr.r_symndx = -1; intr.r_symndx = -1;
} }
#endif #endif
@ -2433,8 +2429,7 @@ DEFUN (fixup_segment, (segP, this_segment_type),
/* something different for N_UNDF. */ /* something different for N_UNDF. */
#ifdef TC_I960 #ifdef TC_I960
/* Makes no sense to use the difference of 2 arbitrary symbols /* Makes no sense to use the difference of 2 arbitrary symbols
* as the target of a call instruction. as the target of a call instruction. */
*/
if (fixP->fx_callj) if (fixP->fx_callj)
{ {
as_bad ("callj to difference of 2 symbols"); as_bad ("callj to difference of 2 symbols");
@ -2469,16 +2464,16 @@ DEFUN (fixup_segment, (segP, this_segment_type),
if (add_symbol_segment == this_segment_type && pcrel) if (add_symbol_segment == this_segment_type && pcrel)
{ {
/* /*
* This fixup was made when the symbol's segment was * This fixup was made when the symbol's segment was
* SEG_UNKNOWN, but it is now in the local segment. * SEG_UNKNOWN, but it is now in the local segment.
* So we know how to do the address without relocation. * So we know how to do the address without relocation.
*/ */
#ifdef TC_I960 #ifdef TC_I960
/* reloc_callj() may replace a 'call' with a 'calls' or a 'bal', /* reloc_callj() may replace a 'call' with a 'calls' or a 'bal',
* in which cases it modifies *fixP as appropriate. In the case * in which cases it modifies *fixP as appropriate. In the case
* of a 'calls', no further work is required, and *fixP has been * of a 'calls', no further work is required, and *fixP has been
* set up to make the rest of the code below a no-op. * set up to make the rest of the code below a no-op.
*/ */
reloc_callj (fixP); reloc_callj (fixP);
#endif /* TC_I960 */ #endif /* TC_I960 */
@ -2515,10 +2510,10 @@ DEFUN (fixup_segment, (segP, this_segment_type),
if ((int) fixP->fx_bit_fixP == 13) if ((int) fixP->fx_bit_fixP == 13)
{ {
/* This is a COBR instruction. They have only a /* This is a COBR instruction. They have only a
* 13-bit displacement and are only to be used * 13-bit displacement and are only to be used
* for local branches: flag as error, don't generate * for local branches: flag as error, don't generate
* relocation. * relocation.
*/ */
as_bad ("can't use COBR format with external label"); as_bad ("can't use COBR format with external label");
fixP->fx_addsy = NULL; /* No relocations please. */ fixP->fx_addsy = NULL; /* No relocations please. */
continue; continue;
@ -2566,9 +2561,9 @@ DEFUN (fixup_segment, (segP, this_segment_type),
} /* generic error checking */ } /* generic error checking */
#ifdef WARN_SIGNED_OVERFLOW_WORD #ifdef WARN_SIGNED_OVERFLOW_WORD
/* Warn if a .word value is too large when treated as /* Warn if a .word value is too large when treated as
a signed number. We already know it is not too a signed number. We already know it is not too
negative. This is to catch over-large switches negative. This is to catch over-large switches
generated by gcc on the 68k. */ generated by gcc on the 68k. */
if (!flagseen['J'] if (!flagseen['J']
&& size == 2 && size == 2
&& add_number > 0x7fff) && add_number > 0x7fff)
@ -2579,10 +2574,7 @@ DEFUN (fixup_segment, (segP, this_segment_type),
/* once this fix has been applied, we don't have to output anything /* once this fix has been applied, we don't have to output anything
nothing more need be done -*/ nothing more need be done -*/
md_apply_fix (fixP, add_number); md_apply_fix (fixP, add_number);
} /* For each fixS in this segment. */ } /* For each fixS in this segment. */
} /* fixup_segment() */ } /* fixup_segment() */
#endif #endif