From: Joel Rosdahl Date: Sun, 21 Jan 2018 07:54:17 +0000 (+0100) Subject: Split .incbin directive in ccache source code to enable cache hits X-Git-Tag: v3.3.6~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e622b74e1e16c3139aa602b68a2b94d313b3dd2;p=thirdparty%2Fccache.git Split .incbin directive in ccache source code to enable cache hits --- diff --git a/ccache.c b/ccache.c index f72a9bda2..3044016c2 100644 --- a/ccache.c +++ b/ccache.c @@ -844,11 +844,11 @@ process_preprocessed_file(struct mdfour *hash, const char *path) p = q; // Everything of interest between p and q has been hashed now. } else if (q[0] == '.' && q[1] == 'i' && q[2] == 'n' && q[3] == 'c' && q[4] == 'b' && q[5] == 'i' && q[6] == 'n') { - // An assembler .incbin statement (which could be part of inline - // assembly) refers to an external file. If the file changes, the hash - // should change as well, but finding out what file to hash is too hard - // for ccache, so just bail out. - cc_log("Found unsupported .incbin directive in source code"); + // An assembler .inc bin (without the space) statement, which could be + // part of inline assembly, refers to an external file. If the file + // changes, the hash should change as well, but finding out what file to + // hash is too hard for ccache, so just bail out. + cc_log("Found unsupported .inc" "bin directive in source code"); stats_update(STATS_UNSUPPORTED_DIRECTIVE); failed(); } else {