whitespace/comment changes
This commit is contained in:
parent
dcf5ddb89b
commit
eeeaa7780b
@ -356,7 +356,6 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
|
||||
{
|
||||
if (segment_info[idx].scnhdr.s_name[0])
|
||||
{
|
||||
|
||||
struct external_reloc *ext_ptr;
|
||||
struct external_reloc *external_reloc_vec;
|
||||
unsigned int external_reloc_size;
|
||||
@ -372,7 +371,7 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
|
||||
ext_ptr = external_reloc_vec;
|
||||
|
||||
/* Fill in the internal coff style reloc struct from the
|
||||
internal fix list */
|
||||
internal fix list. */
|
||||
while (fix_ptr)
|
||||
{
|
||||
symbolS *symbol_ptr;
|
||||
@ -396,8 +395,7 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
|
||||
|
||||
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)
|
||||
{
|
||||
dot = segment_info[S_GET_SEGMENT (symbol_ptr)].dot;
|
||||
@ -414,8 +412,6 @@ DEFUN (do_relocs_for, (abfd, h, file_cursor),
|
||||
else
|
||||
{
|
||||
intr.r_symndx = -1;
|
||||
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -2433,8 +2429,7 @@ DEFUN (fixup_segment, (segP, this_segment_type),
|
||||
/* something different for N_UNDF. */
|
||||
#ifdef TC_I960
|
||||
/* 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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
/*
|
||||
* This fixup was made when the symbol's segment was
|
||||
* SEG_UNKNOWN, but it is now in the local segment.
|
||||
* So we know how to do the address without relocation.
|
||||
*/
|
||||
* This fixup was made when the symbol's segment was
|
||||
* SEG_UNKNOWN, but it is now in the local segment.
|
||||
* So we know how to do the address without relocation.
|
||||
*/
|
||||
#ifdef TC_I960
|
||||
/* reloc_callj() may replace a 'call' with a 'calls' or a 'bal',
|
||||
* in which cases it modifies *fixP as appropriate. In the case
|
||||
* 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.
|
||||
*/
|
||||
* in which cases it modifies *fixP as appropriate. In the case
|
||||
* 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.
|
||||
*/
|
||||
reloc_callj (fixP);
|
||||
#endif /* TC_I960 */
|
||||
|
||||
@ -2515,10 +2510,10 @@ DEFUN (fixup_segment, (segP, this_segment_type),
|
||||
if ((int) fixP->fx_bit_fixP == 13)
|
||||
{
|
||||
/* This is a COBR instruction. They have only a
|
||||
* 13-bit displacement and are only to be used
|
||||
* for local branches: flag as error, don't generate
|
||||
* relocation.
|
||||
*/
|
||||
* 13-bit displacement and are only to be used
|
||||
* for local branches: flag as error, don't generate
|
||||
* relocation.
|
||||
*/
|
||||
as_bad ("can't use COBR format with external label");
|
||||
fixP->fx_addsy = NULL; /* No relocations please. */
|
||||
continue;
|
||||
@ -2566,9 +2561,9 @@ DEFUN (fixup_segment, (segP, this_segment_type),
|
||||
} /* generic error checking */
|
||||
#ifdef WARN_SIGNED_OVERFLOW_WORD
|
||||
/* Warn if a .word value is too large when treated as
|
||||
a signed number. We already know it is not too
|
||||
negative. This is to catch over-large switches
|
||||
generated by gcc on the 68k. */
|
||||
a signed number. We already know it is not too
|
||||
negative. This is to catch over-large switches
|
||||
generated by gcc on the 68k. */
|
||||
if (!flagseen['J']
|
||||
&& size == 2
|
||||
&& 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
|
||||
nothing more need be done -*/
|
||||
md_apply_fix (fixP, add_number);
|
||||
|
||||
} /* For each fixS in this segment. */
|
||||
|
||||
|
||||
} /* fixup_segment() */
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user