gas: .lcomm gets an alignment argument in eBPF
authorJose E. Marchesi <jose.marchesi@oracle.com>
Wed, 17 Jul 2019 21:18:41 +0000 (23:18 +0200)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Thu, 18 Jul 2019 11:12:33 +0000 (13:12 +0200)
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.

gas/ChangeLog
gas/config/tc-bpf.c

index 5d3bb61731c86bd4363e7bb8328ff756a0a9e353..6e457d98f5ae173db2656400b2a24cc29438a171 100644 (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.
index 3ebe81f3652f71b1cf5cd9b15c7822c6bf63ed58..4b92b7794f377919799fea8dbed122ca43498891 100644 (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.  */
This page took 0.026868 seconds and 4 git commands to generate.