xref: /freebsd/contrib/file/magic/Magdir/gcc (revision 2828dafcf3e7b225b70cbb380eb8c7dae452493e)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*a5d223e6SXin LI# $File: gcc,v 1.5 2016/07/01 23:31:13 christos Exp $
4b6cee71dSXin LI# gcc:  file(1) magic for GCC special files
5b6cee71dSXin LI#
6b6cee71dSXin LI0	string		gpch		GCC precompiled header
7b6cee71dSXin LI
8b6cee71dSXin LI# The version field is annoying.  It's 3 characters, not zero-terminated.
9b6cee71dSXin LI>5	byte		x			(version %c
10b6cee71dSXin LI>6	byte		x			\b%c
11b6cee71dSXin LI>7	byte		x			\b%c)
12b6cee71dSXin LI
13b6cee71dSXin LI# 67 = 'C', 111 = 'o', 43 = '+', 79 = 'O'
14b6cee71dSXin LI>4	byte		67			for C
15*a5d223e6SXin LI>4	byte		111			for Objective-C
16b6cee71dSXin LI>4	byte		43			for C++
17*a5d223e6SXin LI>4	byte		79			for Objective-C++
18