]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
runtime: mark go-context.S as no-executable-stack and split-stack supported
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 2 Oct 2019 20:11:35 +0000 (20:11 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 2 Oct 2019 20:11:35 +0000 (20:11 +0000)
    The .note.GNU-stack section tells the linker that this object does not
    require an executable stack.

    The .note.GNU-split-stack section tells the linker that functions in
    this object can be called directly by split-stack functions, without
    require a large stack.

    The .note.GNU-no-split-stack section tells the linker that functions
    in this object do not have a split-stack prologue.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/198440

From-SVN: r276488

gcc/go/gofrontend/MERGE
libgo/runtime/go-context.S

index f7c45eeb0d38d83473c9d2d2818d7571d6146b36..54c682a8b78cb301cc1b987c3cc63bcb70dec4ae 100644 (file)
@@ -1,4 +1,4 @@
-07faafda5fbd66a710153814f30d93c91461e7cb
+a3aef6b6df932ea6c7094d074695bc0b033a3d17
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 8beeebfb85a14d1b9efd9829bc37ee5252f2a4f1..170bced1818a000c31e97084653529d18a100470 100644 (file)
@@ -66,4 +66,8 @@ __go_makecontext:
 
        ret
 
+       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-split-stack,"",@progbits
+       .section        .note.GNU-no-split-stack,"",@progbits
+
 #endif