diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2024-05-14 20:28:04 -0600 |
---|---|---|
committer | David Faure <faure@kde.org> | 2024-06-01 19:33:30 +0000 |
commit | d5684b9b9ec357b7470aaef926ad37c81326ce7f (patch) | |
tree | f9b31f028c3ec82b8ee679d386459459c967d4ed /data | |
parent | f8e694e806590e38594681bf862f6fbcbb2f61d5 (diff) |
Add text/x-asm
helloworld.s was compiled from helloworld.c with GCC.
https://github.com/file/file/blob/be5fac4b0ea34091096c6477c1ed98946c2e7fd2/magic/Magdir/assembler
Diffstat (limited to 'data')
-rw-r--r-- | data/freedesktop.org.xml.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 0318ddd..feea582 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -6932,6 +6932,21 @@ command to generate the output files. <match type="string" value="#include" offset="0"/> </magic> </mime-type> + <mime-type type="text/x-asm"> + <comment>Assembly code</comment> + <sub-class-of type="text/plain"/> + <magic> + <match type="string" value="\t.asciiz" offset="0"/> + <match type="string" value="\t.byte" offset="0"/> + <match type="string" value="\t.even" offset="0"/> + <match type="string" value="\t.file" offset="0"/> + <match type="string" value="\t.globl" offset="0"/> + <match type="string" value="\t.text" offset="0"/> + <match type="string" value="\t.type" offset="0"/> + </magic> + <glob pattern="*.asm"/> + <glob pattern="*.s"/> + </mime-type> <mime-type type="text/x-csharp"> <comment>C# source code</comment> <sub-class-of type="text/plain"/> |