projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gcc-plugins/stackleak: Avoid .head.text section
[linux-block.git]
/
scripts
/
gcc-plugins
/
stackleak_plugin.c
diff --git
a/scripts/gcc-plugins/stackleak_plugin.c
b/scripts/gcc-plugins/stackleak_plugin.c
index c5c2ce113c9232c331c4ebac2ba4384a24424640..d20c47d21ad8352973c93ccefc7b0931e93de545 100644
(file)
--- a/
scripts/gcc-plugins/stackleak_plugin.c
+++ b/
scripts/gcc-plugins/stackleak_plugin.c
@@
-467,6
+467,8
@@
static bool stackleak_gate(void)
return false;
if (STRING_EQUAL(section, ".entry.text"))
return false;
+ if (STRING_EQUAL(section, ".head.text"))
+ return false;
}
return track_frame_size >= 0;