aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-03-05 15:27:59 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-03-05 15:27:59 +0000
commitcc3f603a65ec4b4d6049f8c61931abf400433c4b (patch)
tree0f00b965e7d149287d0134d8dc50b3c4e341d740 /gas/read.c
parentb92997d66d6001389dfad5d5a662c9032faa319d (diff)
downloadgdb-cc3f603a65ec4b4d6049f8c61931abf400433c4b.zip
gdb-cc3f603a65ec4b4d6049f8c61931abf400433c4b.tar.gz
gdb-cc3f603a65ec4b4d6049f8c61931abf400433c4b.tar.bz2
gas:
* read.c (s_fill, s_space, s_float_space, float_cons, stringer, s_incbin): Call md_cons_align (1). gas/testsuite: * gas/arm/mapmisc.d, gas/arm/mapmisc.dat, gas/arm/mapmisc.s: New.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index 15ae780..863a6ac 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1920,6 +1920,10 @@ s_fill (int ignore ATTRIBUTE_UNUSED)
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
get_known_segmented_expression (&rep_exp);
if (*input_line_pointer == ',')
{
@@ -3119,6 +3123,10 @@ s_space (int mult)
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
if (flag_mri)
stop = mri_comment_field (&stopc);
@@ -3290,6 +3298,10 @@ s_float_space (int float_type)
char *stop = NULL;
char stopc = 0;
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
if (flag_mri)
stop = mri_comment_field (&stopc);
@@ -4631,6 +4643,10 @@ float_cons (/* Clobbers input_line-pointer, checks end-of-line. */
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
do
{
/* input_line_pointer->1st char of a flonum (we hope!). */
@@ -5075,6 +5091,10 @@ stringer (int bits_appendzero)
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
/* The following awkward logic is to parse ZERO or more strings,
comma separated. Recall a string expression includes spaces
before the opening '\"' and spaces after the closing '\"'.
@@ -5453,6 +5473,10 @@ s_incbin (int x ATTRIBUTE_UNUSED)
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
SKIP_WHITESPACE ();
filename = demand_copy_string (& len);
if (filename == NULL)