Neon/AArch64: Don't put GAS functions in .rodata
Regression introduced by 240ba417aa
Closes #546
This commit is contained in:
@@ -5,7 +5,7 @@ if(CMAKE_EXECUTABLE_SUFFIX)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
project(libjpeg-turbo C)
|
project(libjpeg-turbo C)
|
||||||
set(VERSION 2.1.1)
|
set(VERSION 2.1.2)
|
||||||
string(REPLACE "." ";" VERSION_TRIPLET ${VERSION})
|
string(REPLACE "." ";" VERSION_TRIPLET ${VERSION})
|
||||||
list(GET VERSION_TRIPLET 0 VERSION_MAJOR)
|
list(GET VERSION_TRIPLET 0 VERSION_MAJOR)
|
||||||
list(GET VERSION_TRIPLET 1 VERSION_MINOR)
|
list(GET VERSION_TRIPLET 1 VERSION_MINOR)
|
||||||
|
|||||||
12
ChangeLog.md
12
ChangeLog.md
@@ -1,3 +1,15 @@
|
|||||||
|
2.1.2
|
||||||
|
=====
|
||||||
|
|
||||||
|
1. Fixed a regression introduced by 2.1 beta1[13] that caused the remaining
|
||||||
|
GAS implementations of AArch64 (Arm 64-bit) Neon SIMD functions (which are used
|
||||||
|
by default with GCC for performance reasons) to be placed in the `.rodata`
|
||||||
|
section rather than in the `.text` section. This caused the GNU linker to
|
||||||
|
automatically place the `.rodata` section in an executable segment, which
|
||||||
|
prevented libjpeg-turbo from working properly with other linkers and also
|
||||||
|
represented a potential security risk.
|
||||||
|
|
||||||
|
|
||||||
2.1.1
|
2.1.1
|
||||||
=====
|
=====
|
||||||
|
|
||||||
|
|||||||
@@ -182,6 +182,8 @@ Ljsimd_huff_encode_one_block_neon_consts:
|
|||||||
.byte 4, 5, 6, 7, 255, 255, 255, 255, \
|
.byte 4, 5, 6, 7, 255, 255, 255, 255, \
|
||||||
255, 255, 255, 255, 255, 255, 255, 255 /* L7 : 1 line OK */
|
255, 255, 255, 255, 255, 255, 255, 255 /* L7 : 1 line OK */
|
||||||
|
|
||||||
|
.text
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user