[libpng16] Revised stack marking in arm/filter_neon.S
diff --git a/ANNOUNCE b/ANNOUNCE
index 6eb05ab..5ac48d0 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -1,5 +1,5 @@
 
-Libpng 1.6.2rc03 - April 22, 2013
+Libpng 1.6.2rc04 - April 23, 2013
 
 This is not intended to be a public release.  It will be replaced
 within a few weeks by a public version or by another test version.
@@ -9,19 +9,19 @@
 Source files with LF line endings (for Unix/Linux) and with a
 "configure" script
 
-   1.6.2rc03.tar.xz (LZMA-compressed, recommended)
-   1.6.2rc03.tar.gz
+   1.6.2rc04.tar.xz (LZMA-compressed, recommended)
+   1.6.2rc04.tar.gz
 
 Source files with CRLF line endings (for Windows), without the
 "configure" script
 
-   lp162r03.7z  (LZMA-compressed, recommended)
-   lp162r03.zip
+   lp162r04.7z  (LZMA-compressed, recommended)
+   lp162r04.zip
 
 Other information:
 
-   1.6.2rc03-README.txt
-   1.6.2rc03-LICENSE.txt
+   1.6.2rc04-README.txt
+   1.6.2rc04-LICENSE.txt
 
 Changes since the last public release (1.6.1):
 
@@ -50,6 +50,9 @@
 Version 1.6.2rc03 [April 22, 2013]
   Trivial spelling cleanup.
 
+Version 1.6.2rc04 [April 23, 2013]
+  Revised stack marking in arm/filter_neon.S
+
 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 (subscription required; visit
 https://lists.sourceforge.net/lists/listinfo/png-mng-implement
diff --git a/CHANGES b/CHANGES
index be26c4f..88426df 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4497,6 +4497,9 @@
 Version 1.6.2rc03 [April 22, 2013]
   Trivial spelling cleanup.
 
+Version 1.6.2rc04 [April 23, 2013]
+  Revised stack marking in arm/filter_neon.S
+
 Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 (subscription required; visit
 https://lists.sourceforge.net/lists/listinfo/png-mng-implement
diff --git a/arm/filter_neon.S b/arm/filter_neon.S
index 72420a9..97f7e2e 100644
--- a/arm/filter_neon.S
+++ b/arm/filter_neon.S
@@ -1,9 +1,9 @@
 
 /* filter_neon.S - NEON optimised filter functions
  *
- * Copyright (c) 2011 Glenn Randers-Pehrson
+ * Copyright (c) 2013 Glenn Randers-Pehrson
  * Written by Mans Rullgard, 2011.
- * Last changed in libpng 1.5.7 [December 15, 2011]
+ * Last changed in libpng 1.6.2 [%RDATE%]
  *
  * This code is released under the libpng license.
  * For conditions of distribution and use, see the disclaimer
@@ -16,12 +16,13 @@
 #define PNG_VERSION_INFO_ONLY
 #include "../pngpriv.h"
 
-#if defined(PNG_FILTER_OPTIMIZATIONS) && defined(__arm__) && \
-   defined(__ARM_NEON__)
 #if defined(__linux__) && defined(__ELF__)
 .section .note.GNU-stack,"",%progbits /* mark stack as non-executable */
 #endif
 
+#if defined(PNG_FILTER_OPTIMIZATIONS) && defined(__arm__) && \
+   defined(__ARM_NEON__)
+
 #ifdef __ELF__
 #   define ELF
 #else
diff --git a/configure.ac b/configure.ac
index 407a678..2667dc5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -226,11 +226,6 @@
     fi])
 AM_CONDITIONAL([DO_PNG_PREFIX], [test "${with_libpng_prefix:-no}" != "no"])
 
-# Because GCC by default assembles code with an executable stack, even though it
-# compiles C code with a non-executable stack, it is necessary to do a fixup
-# here (this may by GCC specific)
-AC_SUBST([AM_CCASFLAGS], [-Wa,--noexecstack])
-
 AC_ARG_ENABLE([arm-neon],
    AS_HELP_STRING([[[--enable-arm-neon]]],
       [Enable ARM NEON optimizations: =off, check, api, on:]