summaryrefslogtreecommitdiff
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
commit0f65e4b5c202baaf8011f2ff167d36b3840dec07 (patch)
tree4ae9779cb42c365b79812bfe6ea29bd9af5de67f /gas/read.c
parent70e5c439e96092f28dbc9386e5cd96b34d18475f (diff)
downloadbinutils-redhat-0f65e4b5c202baaf8011f2ff167d36b3840dec07.tar.gz
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 15ae78085f..863a6ac13d 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)