mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* read.c (read_a_source_file): Check mri_pending_align after
checking for a macro. From Ronald F. Guilmette <rfg@monkeys.com>.
This commit is contained in:
@ -8,6 +8,10 @@ Tue Dec 31 15:12:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
|||||||
end-sanitize-v850
|
end-sanitize-v850
|
||||||
Tue Dec 31 12:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
|
Tue Dec 31 12:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* read.c (read_a_source_file): Check mri_pending_align after
|
||||||
|
checking for a macro. From Ronald F. Guilmette
|
||||||
|
<rfg@monkeys.com>.
|
||||||
|
|
||||||
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
|
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
|
||||||
|
|
||||||
* config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
|
* config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
|
||||||
|
19
gas/read.c
19
gas/read.c
@ -44,7 +44,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307
|
|||||||
#include "subsegs.h"
|
#include "subsegs.h"
|
||||||
#include "sb.h"
|
#include "sb.h"
|
||||||
#include "macro.h"
|
#include "macro.h"
|
||||||
#include "libiberty.h"
|
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
#include "listing.h"
|
#include "listing.h"
|
||||||
#include "ecoff.h"
|
#include "ecoff.h"
|
||||||
@ -727,14 +726,8 @@ read_a_source_file (name)
|
|||||||
goto quit;
|
goto quit;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ /* machine instruction */
|
|
||||||
int inquote = 0;
|
|
||||||
|
|
||||||
if (mri_pending_align)
|
|
||||||
{
|
{
|
||||||
do_align (1, (char *) NULL, 0);
|
int inquote = 0;
|
||||||
mri_pending_align = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* WARNING: c has char, which may be end-of-line. */
|
/* WARNING: c has char, which may be end-of-line. */
|
||||||
/* Also: input_line_pointer->`\0` where c was. */
|
/* Also: input_line_pointer->`\0` where c was. */
|
||||||
@ -789,6 +782,12 @@ read_a_source_file (name)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mri_pending_align)
|
||||||
|
{
|
||||||
|
do_align (1, (char *) NULL, 0);
|
||||||
|
mri_pending_align = 0;
|
||||||
|
}
|
||||||
|
|
||||||
md_assemble (s); /* Assemble 1 instruction. */
|
md_assemble (s); /* Assemble 1 instruction. */
|
||||||
|
|
||||||
*input_line_pointer++ = c;
|
*input_line_pointer++ = c;
|
||||||
@ -975,6 +974,10 @@ read_a_source_file (name)
|
|||||||
} /* while (more buffers to scan) */
|
} /* while (more buffers to scan) */
|
||||||
|
|
||||||
quit:
|
quit:
|
||||||
|
|
||||||
|
#ifdef md_cleanup
|
||||||
|
md_cleanup();
|
||||||
|
#endif
|
||||||
input_scrub_close (); /* Close the input file */
|
input_scrub_close (); /* Close the input file */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user