Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mkcl
mkcl
Commits
a13fd954
Commit
a13fd954
authored
May 07, 2020
by
Jean-Claude Beaudoin
Browse files
Use builtin version of __clear_cache() to support binary code generated by mkcc.
parent
ed088cfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/tinycc/lib/lib-arm64.c
View file @
a13fd954
...
...
@@ -14,7 +14,13 @@
void
__mkcc_clear_cache
(
void
*
beg
,
void
*
end
)
{
__arm64_clear_cache
(
beg
,
end
);
#if 0
__arm64_clear_cache(beg, end);
#else
/* Should work in GCC and clang. */
extern
void
__builtin___clear_cache
(
void
*
start
,
void
*
end
);
__builtin___clear_cache
(
beg
,
end
);
#endif
}
typedef
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment