mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
* config/tc-m68k.c: Fix formatting.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
|
* config/tc-m68k.c: Fix formatting.
|
||||||
|
|
||||||
2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
|
2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
|
||||||
|
|
||||||
* Makefile.am: Honour DESTDIR.
|
* Makefile.am: Honour DESTDIR.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* tc-m68k.c -- Assemble for the m68k family
|
/* tc-m68k.c -- Assemble for the m68k family
|
||||||
Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
2000, 2001
|
2000, 2001, 2002
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GAS, the GNU Assembler.
|
This file is part of GAS, the GNU Assembler.
|
||||||
@ -258,12 +258,12 @@ insop (w, opcode)
|
|||||||
{
|
{
|
||||||
int z;
|
int z;
|
||||||
for (z = the_ins.numo; z > opcode->m_codenum; --z)
|
for (z = the_ins.numo; z > opcode->m_codenum; --z)
|
||||||
the_ins.opcode[z]=the_ins.opcode[z-1];
|
the_ins.opcode[z] = the_ins.opcode[z - 1];
|
||||||
for (z = 0;z < the_ins.nrel; z++)
|
for (z = 0; z < the_ins.nrel; z++)
|
||||||
the_ins.reloc[z].n+=2;
|
the_ins.reloc[z].n += 2;
|
||||||
for (z = 0; z < the_ins.nfrag; z++)
|
for (z = 0; z < the_ins.nfrag; z++)
|
||||||
the_ins.fragb[z].fragoff++;
|
the_ins.fragb[z].fragoff++;
|
||||||
the_ins.opcode[opcode->m_codenum]=w;
|
the_ins.opcode[opcode->m_codenum] = w;
|
||||||
the_ins.numo++;
|
the_ins.numo++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -306,10 +306,10 @@ add_frag (add, off, type)
|
|||||||
offsetT off;
|
offsetT off;
|
||||||
int type;
|
int type;
|
||||||
{
|
{
|
||||||
the_ins.fragb[the_ins.nfrag].fragoff=the_ins.numo;
|
the_ins.fragb[the_ins.nfrag].fragoff = the_ins.numo;
|
||||||
the_ins.fragb[the_ins.nfrag].fadd=add;
|
the_ins.fragb[the_ins.nfrag].fadd = add;
|
||||||
the_ins.fragb[the_ins.nfrag].foff=off;
|
the_ins.fragb[the_ins.nfrag].foff = off;
|
||||||
the_ins.fragb[the_ins.nfrag++].fragty=type;
|
the_ins.fragb[the_ins.nfrag++].fragty = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define isvar(ex) \
|
#define isvar(ex) \
|
||||||
@ -5322,7 +5322,7 @@ opt_list_symbols (arg, on)
|
|||||||
if (on)
|
if (on)
|
||||||
listing |= LISTING_SYMBOLS;
|
listing |= LISTING_SYMBOLS;
|
||||||
else
|
else
|
||||||
listing &=~ LISTING_SYMBOLS;
|
listing &= ~LISTING_SYMBOLS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle the MRI REG pseudo-op. */
|
/* Handle the MRI REG pseudo-op. */
|
||||||
@ -5707,12 +5707,12 @@ parse_mri_control_operand (pcc, leftstart, leftstop, rightstart, rightstop)
|
|||||||
/* We must make sure we don't misinterpret AND/OR at the end of labels!
|
/* We must make sure we don't misinterpret AND/OR at the end of labels!
|
||||||
if d0 <eq> #FOOAND and d1 <ne> #BAROR then
|
if d0 <eq> #FOOAND and d1 <ne> #BAROR then
|
||||||
^^^ ^^ */
|
^^^ ^^ */
|
||||||
if ( ( s == input_line_pointer
|
if ((s == input_line_pointer
|
||||||
|| *(s-1) == ' '
|
|| *(s-1) == ' '
|
||||||
|| *(s-1) == '\t')
|
|| *(s-1) == '\t')
|
||||||
&& ( ( strncasecmp (s, "AND", 3) == 0
|
&& ((strncasecmp (s, "AND", 3) == 0
|
||||||
&& (s[3] == '.' || ! is_part_of_name (s[3])))
|
&& (s[3] == '.' || ! is_part_of_name (s[3])))
|
||||||
|| ( strncasecmp (s, "OR", 2) == 0
|
|| (strncasecmp (s, "OR", 2) == 0
|
||||||
&& (s[2] == '.' || ! is_part_of_name (s[2])))))
|
&& (s[2] == '.' || ! is_part_of_name (s[2])))))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -5867,7 +5867,9 @@ build_mri_control_operand (qual, cc, leftstart, leftstop, rightstart,
|
|||||||
temp = leftstop;
|
temp = leftstop;
|
||||||
leftstop = rightstop;
|
leftstop = rightstop;
|
||||||
rightstop = temp;
|
rightstop = temp;
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
cc = swap_mri_condition (cc);
|
cc = swap_mri_condition (cc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -6625,10 +6627,10 @@ s_mri_while (qual)
|
|||||||
This is important when assembling:
|
This is important when assembling:
|
||||||
while d0 <ne> 12(a0,d0*2) do
|
while d0 <ne> 12(a0,d0*2) do
|
||||||
while d0 <ne> #CONST*20 do */
|
while d0 <ne> #CONST*20 do */
|
||||||
while ( ! ( is_end_of_line[(unsigned char) *s]
|
while (! (is_end_of_line[(unsigned char) *s]
|
||||||
|| ( flag_mri
|
|| (flag_mri
|
||||||
&& *s == '*'
|
&& *s == '*'
|
||||||
&& ( s == input_line_pointer
|
&& (s == input_line_pointer
|
||||||
|| *(s-1) == ' '
|
|| *(s-1) == ' '
|
||||||
|| *(s-1) == '\t'))))
|
|| *(s-1) == '\t'))))
|
||||||
s++;
|
s++;
|
||||||
@ -7137,7 +7139,8 @@ tc_coff_sizemachdep (frag)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef OBJ_ELF
|
#ifdef OBJ_ELF
|
||||||
void m68k_elf_final_processing()
|
void
|
||||||
|
m68k_elf_final_processing ()
|
||||||
{
|
{
|
||||||
/* Set file-specific flags if this is a cpu32 processor */
|
/* Set file-specific flags if this is a cpu32 processor */
|
||||||
if (cpu_of_arch (current_architecture) & cpu32)
|
if (cpu_of_arch (current_architecture) & cpu32)
|
||||||
|
Reference in New Issue
Block a user