]> sourceware.org Git - glibc.git/commitdiff
Define DEFAULT_STACK_PERMS for MIPS.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 21 Dec 2010 00:40:13 +0000 (00:40 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 21 Dec 2010 00:40:13 +0000 (00:40 +0000)
ChangeLog.mips
sysdeps/mips/stackinfo.h

index d7965e928fe507d744d25a68d3e30c4668a80cce..a52a7fd083eccdb7d3456cf6a500adba48e41398 100644 (file)
@@ -1,3 +1,7 @@
+2010-12-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
+
 2010-12-06  Matt Turner  <mattst88@gmail.com>
 
        * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
index 86e3d621ba8e8b404d97713ef0ab9f3a77e63a96..7a5e3e01d27464938e60a2535f4cb3c0122cf5ad 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 #ifndef _STACKINFO_H
 #define _STACKINFO_H   1
 
+#include <elf.h>
+
 /* On MIPS the stack grows down.  */
 #define _STACK_GROWS_DOWN      1
 
+/* Default to an executable stack.  PF_X can be overridden if PT_GNU_STACK is
+ * present, but it is presumed absent.  */
+#define DEFAULT_STACK_PERMS (PF_R|PF_W|PF_X)
+
 #endif /* stackinfo.h */
This page took 0.045301 seconds and 5 git commands to generate.