[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r12359 - in /fsf/trunk/ports: ChangeLog.arm ChangeLog.mips sysdeps/arm/stackinfo.h sysdeps/mips/stackinfo.h



Author: eglibc
Date: Tue Dec 21 00:03:28 2010
New Revision: 12359

Log:
Import glibc-ports-mainline for 2010-12-21

Modified:
    fsf/trunk/ports/ChangeLog.arm
    fsf/trunk/ports/ChangeLog.mips
    fsf/trunk/ports/sysdeps/arm/stackinfo.h
    fsf/trunk/ports/sysdeps/mips/stackinfo.h

Modified: fsf/trunk/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/ports/ChangeLog.arm (original)
+++ fsf/trunk/ports/ChangeLog.arm Tue Dec 21 00:03:28 2010
@@ -1,3 +1,7 @@
+2010-12-21  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/arm/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
+
 2010-11-24  Ken Werner  <ken.werner@xxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h (atomic_full_barrier,

Modified: fsf/trunk/ports/ChangeLog.mips
==============================================================================
--- fsf/trunk/ports/ChangeLog.mips (original)
+++ fsf/trunk/ports/ChangeLog.mips Tue Dec 21 00:03:28 2010
@@ -1,3 +1,7 @@
+2010-12-21  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
+
 2010-12-06  Matt Turner  <mattst88@xxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.

Modified: fsf/trunk/ports/sysdeps/arm/stackinfo.h
==============================================================================
--- fsf/trunk/ports/sysdeps/arm/stackinfo.h (original)
+++ fsf/trunk/ports/sysdeps/arm/stackinfo.h Tue Dec 21 00:03:28 2010
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 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
@@ -22,7 +22,13 @@
 #ifndef _STACKINFO_H
 #define _STACKINFO_H	1
 
+#include <elf.h>
+
 /* On Arm 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 */

Modified: fsf/trunk/ports/sysdeps/mips/stackinfo.h
==============================================================================
--- fsf/trunk/ports/sysdeps/mips/stackinfo.h (original)
+++ fsf/trunk/ports/sysdeps/mips/stackinfo.h Tue Dec 21 00:03:28 2010
@@ -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
@@ -22,7 +22,13 @@
 #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 */