gas: .lcomm gets an alignment argument in eBPF

gas/ChangeLog:

2019-07-17  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* config/tc-bpf.c: Make .lcomm to get a third argument with the
	alignment.
This commit is contained in:
Jose E. Marchesi 2019-07-17 23:18:41 +02:00
parent f264fab3cd
commit d0044bac9e
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,12 @@
2019-07-17 Jose E. Marchesi <jose.marchesi@oracle.com>
* config/tc-bpf.c: Make .lcomm to get a third argument with the
alignment.
2019-07-17 Jose E. Marchesi <jose.marchesi@oracle.com>
* config/tc-bpf.c (md_pseudo_table): .half, .word and .dword.
* testsuite/gas/bpf/data.s: New file.
* testsuite/gas/bpf/data.d: Likewise.
* testsuite/gas/bpf/data-be.d: Likewise.

View File

@ -41,7 +41,8 @@ const pseudo_typeS md_pseudo_table[] =
{ "half", cons, 2 },
{ "word", cons, 4 },
{ "dword", cons, 8 },
{ NULL, NULL, 0 }
{ "lcomm", s_lcomm, 1 },
{ NULL, NULL, 0 }
};
/* ISA handling. */