<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/122367>122367</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc] missing .note.GPU-stack section in fake_heap.s
</td>
</tr>
<tr>
<th>Labels</th>
<td>
test-suite,
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
mysterymath
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nickdesaulniers
</td>
</tr>
</table>
<pre>
Building llvm-libc unit tests with ld.bfd, I observe the warning:
```
/usr/bin/ld: warning: libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_heap_test.__unit__.__build__.dir/fake_heap.s.o: missing .note.GNU-stack section implies executable stack
```
There's a command line flag for the compiler for this; but also I think you can use assembler directives in the assembler sources, too.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkkkGP-yYQxT8NvoyCHGwnfx982M3K1R5a9dCeLQyTeBoMEQPZ5ttXuGl3tX8JyfLwBubxfpqZLh5xEN2rUGp9cML4WHVahFKie6t0TkuIgydztcg6O08YuZqDfQyvmZwlfwHn7uvO0Wwge0qQkBPDB6UFnJXz2Qp1gncIM2O8I6QF4UNHT_4imhdRb-tQP1f9ItSYOQo1zuSFGp0VzcuXBigXCTWWW4QaOZafaeJ8u4VYKqdf9RVHcsilm2Yji1RyNPJ_mTxHREecpgX1bdoE01SmnyY5TXNxNk3SUpnjrK-46STLUCZYibn4lj4klL_89ueOkzZXYDSJggdab46QAf9Gk5OeHcIm-Gb0jwUjCnVk0GDCumpvwZFHODt9gXOI21OZsN7IYXwWiEXzCnNOoB0HeC8lf4VHyGC0h8wImhnXubRYimWkOzKQ30773OOQoylvdIIUgqzs0Ni-6XWFw_7YHNqu2zddtQyqb1psmx-trvt92xvbWdWg1W1_bFVbHysaVK26el_3qm5-dJ2sm3PddLbez71VB6NFW-OqycnCiQzxUhFzxmGvVHM4Vk7P6PhJYElix5kSFgDVSSj1b94bjXHYUJvzhUVbl_z489BEyW0gbw3d2_eYfv8pJg9foq1ydMOS0o0LlWoUarxQWvIsTVgLSe7-32d3i-EvNAW2zUkB7WnmPqh_AgAA__-srRpC">