summaryrefslogtreecommitdiff
path: root/gas/config/tc-bpf.c
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2019-07-17 23:18:41 +0200
committerJose E. Marchesi <jose.marchesi@oracle.com>2019-07-18 13:12:33 +0200
commitd0044bac9eb6c5476d29c41872bcf8f74a990d4f (patch)
treef453502ff90f2f891cef1353da7cde0eea0c8f7f /gas/config/tc-bpf.c
parentf264fab3cd9364073ccf7c32f29d0f1aa7c99159 (diff)
downloadbinutils-gdb-d0044bac9eb6c5476d29c41872bcf8f74a990d4f.tar.gz
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.
Diffstat (limited to 'gas/config/tc-bpf.c')
-rw-r--r--gas/config/tc-bpf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-bpf.c b/gas/config/tc-bpf.c
index 3ebe81f3652..4b92b7794f3 100644
--- a/gas/config/tc-bpf.c
+++ b/gas/config/tc-bpf.c
@@ -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. */