Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/bthread/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ __asm (
".size bthread_jump_fcontext,.-bthread_jump_fcontext\n"
"@ Mark that we don't need executable stack.\n"
".section .note.GNU-stack,\"\",%progbits\n"
".previous\n"
);

#endif
Expand Down Expand Up @@ -607,6 +608,7 @@ __asm (
".size bthread_make_fcontext,.-bthread_make_fcontext\n"
"@ Mark that we don't need executable stack.\n"
".section .note.GNU-stack,\"\",%progbits\n"
".previous\n"
);

#endif
Expand Down Expand Up @@ -678,6 +680,7 @@ __asm (
".size bthread_jump_fcontext,.-bthread_jump_fcontext\n"
"# Mark that we don't need executable stack.\n"
".section .note.GNU-stack,\"\",%progbits\n"
".previous\n"
);

#endif
Expand Down Expand Up @@ -710,6 +713,7 @@ __asm (
".size bthread_make_fcontext,.-bthread_make_fcontext\n"
"# Mark that we don't need executable stack.\n"
".section .note.GNU-stack,\"\",%progbits\n"
".previous\n"
);

#endif
Expand Down
Loading