projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable no-exec stacks for more targets using the Linux kernel.
[gcc.git]
/
libgcc
/
config
/
microblaze
/
moddi3.S
diff --git
a/libgcc/config/microblaze/moddi3.S
b/libgcc/config/microblaze/moddi3.S
index bcea079476e4ac8acc72bad21ee8e1b8203ff865..7d2a31d124e1938821788bfb4e430bc3ee87e231 100644
(file)
--- a/
libgcc/config/microblaze/moddi3.S
+++ b/
libgcc/config/microblaze/moddi3.S
@@
-30,6
+30,12
@@
#######################################
+/* An executable stack is *not* required for these functions. */
+#ifdef __linux__
+.section .note.GNU-stack,"",%progbits
+.previous
+#endif
+
.globl __moddi3
.ent __moddi3
__moddi3: