[libpng16] Only compile ARM code when PNG_READ_SUPPORTED is defined.

This commit is contained in:
John Bowler 2013-07-02 22:57:40 -05:00 committed by Glenn Randers-Pehrson
parent d5dd93f5d1
commit 497e7319f4
4 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.6.3beta10 - July 2, 2013
Libpng 1.6.3beta10 - July 3, 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.
@ -112,8 +112,9 @@ Version 1.6.3beta09 [June 27, 2013]
Renamed contrib/tools/png-fix-too-far-back.c to pngfix.c and revised it
to check all compressed chunks known to libpng.
Version 1.6.3beta10 [July 2, 2013]
Version 1.6.3beta10 [July 3, 2013]
Updated documentation to show default behavior of benign errors correctly.
Only compile ARM code when PNG_READ_SUPPORTED is defined.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -4596,8 +4596,9 @@ Version 1.6.3beta09 [June 27, 2013]
Renamed contrib/tools/png-fix-too-far-back.c to pngfix.c and revised it
to check all compressed chunks known to libpng.
Version 1.6.3beta10 [July 2, 2013]
Version 1.6.3beta10 [July 3, 2013]
Updated documentation to show default behavior of benign errors correctly.
Only compile ARM code when PNG_READ_SUPPORTED is defined.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -16,6 +16,7 @@
#include "../pngpriv.h"
#ifdef PNG_READ_SUPPORTED
#if PNG_ARM_NEON_OPT > 0
#ifdef PNG_ARM_NEON_CHECK_SUPPORTED /* Do run-time checks */
#include <signal.h> /* for sig_atomic_t */
@ -217,3 +218,4 @@ png_init_filter_functions_neon(png_structp pp, unsigned int bpp)
}
}
#endif /* PNG_ARM_NEON_OPT > 0 */
#endif /* PNG_READ_SUPPORTED */

View File

@ -20,6 +20,7 @@
.section .note.GNU-stack,"",%progbits /* mark stack as non-executable */
#endif
#ifdef PNG_READ_SUPPORTED
#if PNG_ARM_NEON_OPT > 0
#ifdef __ELF__
@ -233,3 +234,4 @@ func png_read_filter_row_paeth3_neon, export=1
pop {r4,pc}
endfunc
#endif /* PNG_ARM_NEON_OPT > 0 */
#endif /* PNG_READ_SUPPORTED */