projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80d569
)
x86: tell gnu ld that we don't require an executable stack
author
John Koleszar
<jkoleszar@google.com>
Thu, 27 May 2010 12:56:34 +0000
(08:56 -0400)
committer
John Koleszar
<jkoleszar@google.com>
Thu, 27 May 2010 12:56:34 +0000
(08:56 -0400)
Fixes #2
Change-Id: Ie15c57ccf2f9721cb35102765d759817f2607cd7
vpx_ports/x86_abi_support.asm
patch
|
blob
|
history
diff --git
a/vpx_ports/x86_abi_support.asm
b/vpx_ports/x86_abi_support.asm
index
db8208f
..
dd6acf1
100644
(file)
--- a/
vpx_ports/x86_abi_support.asm
+++ b/
vpx_ports/x86_abi_support.asm
@@
-229,3
+229,14
@@
fake_got:
%else
%define SECTION_RODATA section .rodata
%endif
+
+
+; Tell GNU ld that we don't require an executable stack.
+%ifidn __OUTPUT_FORMAT__,elf32
+section .note.GNU-stack noalloc noexec nowrite progbits
+section .text
+%elifidn __OUTPUT_FORMAT__,elf64
+section .note.GNU-stack noalloc noexec nowrite progbits
+section .text
+%endif
+