Enable .fill forward labels
gas/ChangeLog: 2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * read.c (s_fill): Invoke expression instead of get_known_segmented_expression. * testsuite/gas/all/fill-1.s: New testcase. * testsuite/gas/all/gas.exp: Run fill-1 testcase
This commit is contained in:
parent
791afaa233
commit
4f2358bca6
3 changed files with 8 additions and 1 deletions
|
@ -2202,7 +2202,7 @@ s_fill (int ignore ATTRIBUTE_UNUSED)
|
||||||
md_cons_align (1);
|
md_cons_align (1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
get_known_segmented_expression (&rep_exp);
|
expression (&rep_exp);
|
||||||
if (*input_line_pointer == ',')
|
if (*input_line_pointer == ',')
|
||||||
{
|
{
|
||||||
input_line_pointer++;
|
input_line_pointer++;
|
||||||
|
|
5
gas/testsuite/gas/all/fill-1.s
Normal file
5
gas/testsuite/gas/all/fill-1.s
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
.text
|
||||||
|
.fill (2f-1f), 1, 0x90
|
||||||
|
1:
|
||||||
|
nop
|
||||||
|
2:
|
|
@ -486,3 +486,5 @@ run_dump_test "org-3"
|
||||||
run_dump_test "org-4"
|
run_dump_test "org-4"
|
||||||
run_dump_test "org-5"
|
run_dump_test "org-5"
|
||||||
run_dump_test "org-6"
|
run_dump_test "org-6"
|
||||||
|
|
||||||
|
gas_test "fill-1.s" "" "" "test .fill forward label references"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue