Skip to content

Commit 0c5275f

Browse files
committed
[druntime] fiber/switch_context: Update comments
Signed-off-by: Andrei Horodniceanu <[email protected]>
1 parent b385083 commit 0c5275f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

runtime/druntime/src/core/thread/fiber/switch_context_asm.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
* Mark the resulting object file as not requiring execution permissions on
1919
* stack memory. The absence of this section would mark the whole resulting
2020
* library as requiring an executable stack, making it impossible to
21-
* dynamically load druntime on several Linux platforms where this is
22-
* forbidden due to security policies.
21+
* dynamically load druntime on several platforms where this is forbidden
22+
* due to security policies.
2323
*/
2424
.section .note.GNU-stack,"",%progbits
2525
#endif

runtime/druntime/src/core/thread/fiber/switch_context_riscv.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* Mark the resulting object file as not requiring execution permissions on
1212
* stack memory. The absence of this section would mark the whole resulting
1313
* library as requiring an executable stack, making it impossible to
14-
* dynamically load druntime on several Linux platforms where this is
15-
* forbidden due to security policies.
14+
* dynamically load druntime on several platforms where this is forbidden
15+
* due to security policies.
1616
*/
1717
.section .note.GNU-stack,"",%progbits
1818
#endif

runtime/druntime/src/ldc/eh_asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Mark the resulting object file as not requiring execution
1111
* permissions on stack memory. The absence of this section would mark
1212
* the whole resulting library as requiring an executable stack,
13-
* making it impossible to dynamically load druntime on several Linux
13+
* making it impossible to dynamically load druntime on several
1414
* platforms where this is forbidden due to security policies.
1515
*/
1616

0 commit comments

Comments
 (0)