.func/.endfunc are only necessary when generating STABS debug info, which basically went out of style with parachute pants and Rick Astley. At any rate, none of the platforms for which we're building the ARM code use it (DWARF is the common format these days), and the .func/.endfunc directives cause the clang integrated assembler to fail (http://llvm.org/bugs/show_bug.cgi?id=20424).

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1375 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2014-08-22 11:31:46 +00:00
parent 684ace1924
commit 2e2ce5a1da
2 changed files with 0 additions and 19 deletions

View File

@@ -41,11 +41,9 @@
/* Supplementary macro for setting function attributes */ /* Supplementary macro for setting function attributes */
.macro asm_function fname .macro asm_function fname
#ifdef __APPLE__ #ifdef __APPLE__
.func _\fname
.globl _\fname .globl _\fname
_\fname: _\fname:
#else #else
.func \fname
.global \fname .global \fname
#ifdef __ELF__ #ifdef __ELF__
.hidden \fname .hidden \fname
@@ -670,7 +668,6 @@ asm_function jsimd_idct_islow_neon
.unreq ROW6R .unreq ROW6R
.unreq ROW7L .unreq ROW7L
.unreq ROW7R .unreq ROW7R
.endfunc
/*****************************************************************************/ /*****************************************************************************/
@@ -895,7 +892,6 @@ asm_function jsimd_idct_ifast_neon
.unreq TMP2 .unreq TMP2
.unreq TMP3 .unreq TMP3
.unreq TMP4 .unreq TMP4
.endfunc
/*****************************************************************************/ /*****************************************************************************/
@@ -1108,7 +1104,6 @@ asm_function jsimd_idct_4x4_neon
.unreq TMP2 .unreq TMP2
.unreq TMP3 .unreq TMP3
.unreq TMP4 .unreq TMP4
.endfunc
.purgem idct_helper .purgem idct_helper
@@ -1263,7 +1258,6 @@ asm_function jsimd_idct_2x2_neon
.unreq OUTPUT_COL .unreq OUTPUT_COL
.unreq TMP1 .unreq TMP1
.unreq TMP2 .unreq TMP2
.endfunc
.purgem idct_helper .purgem idct_helper
@@ -1547,7 +1541,6 @@ asm_function jsimd_ycc_\colorid\()_convert_neon
.unreq U .unreq U
.unreq V .unreq V
.unreq N .unreq N
.endfunc
.purgem do_yuv_to_rgb .purgem do_yuv_to_rgb
.purgem do_yuv_to_rgb_stage1 .purgem do_yuv_to_rgb_stage1
@@ -1858,7 +1851,6 @@ asm_function jsimd_\colorid\()_ycc_convert_neon
.unreq U .unreq U
.unreq V .unreq V
.unreq N .unreq N
.endfunc
.purgem do_rgb_to_yuv .purgem do_rgb_to_yuv
.purgem do_rgb_to_yuv_stage1 .purgem do_rgb_to_yuv_stage1
@@ -1940,7 +1932,6 @@ asm_function jsimd_convsamp_neon
.unreq TMP2 .unreq TMP2
.unreq TMP3 .unreq TMP3
.unreq TMP4 .unreq TMP4
.endfunc
/*****************************************************************************/ /*****************************************************************************/
@@ -2064,7 +2055,6 @@ asm_function jsimd_fdct_ifast_neon
.unreq DATA .unreq DATA
.unreq TMP .unreq TMP
.endfunc
/*****************************************************************************/ /*****************************************************************************/
@@ -2166,7 +2156,6 @@ asm_function jsimd_quantize_neon
.unreq CORRECTION .unreq CORRECTION
.unreq SHIFT .unreq SHIFT
.unreq LOOP_COUNT .unreq LOOP_COUNT
.endfunc
/*****************************************************************************/ /*****************************************************************************/
@@ -2401,7 +2390,6 @@ asm_function jsimd_h2v1_fancy_upsample_neon
.unreq WIDTH .unreq WIDTH
.unreq TMP .unreq TMP
.endfunc
.purgem upsample16 .purgem upsample16
.purgem upsample32 .purgem upsample32

View File

@@ -41,11 +41,9 @@
/* Supplementary macro for setting function attributes */ /* Supplementary macro for setting function attributes */
.macro asm_function fname .macro asm_function fname
#ifdef __APPLE__ #ifdef __APPLE__
.func _\fname
.globl _\fname .globl _\fname
_\fname: _\fname:
#else #else
.func \fname
.global \fname .global \fname
#ifdef __ELF__ #ifdef __ELF__
.hidden \fname .hidden \fname
@@ -753,7 +751,6 @@ asm_function jsimd_idct_islow_neon
.unreq ROW6R .unreq ROW6R
.unreq ROW7L .unreq ROW7L
.unreq ROW7R .unreq ROW7R
.endfunc
/*****************************************************************************/ /*****************************************************************************/
@@ -1059,7 +1056,6 @@ asm_function jsimd_idct_ifast_neon
.unreq TMP2 .unreq TMP2
.unreq TMP3 .unreq TMP3
.unreq TMP4 .unreq TMP4
.endfunc
/*****************************************************************************/ /*****************************************************************************/
@@ -1309,7 +1305,6 @@ asm_function jsimd_idct_4x4_neon
.unreq TMP2 .unreq TMP2
.unreq TMP3 .unreq TMP3
.unreq TMP4 .unreq TMP4
.endfunc
.purgem idct_helper .purgem idct_helper
@@ -1493,7 +1488,6 @@ asm_function jsimd_idct_2x2_neon
.unreq OUTPUT_COL .unreq OUTPUT_COL
.unreq TMP1 .unreq TMP1
.unreq TMP2 .unreq TMP2
.endfunc
.purgem idct_helper .purgem idct_helper
@@ -1804,7 +1798,6 @@ asm_function jsimd_ycc_\colorid\()_convert_neon
.unreq U .unreq U
.unreq V .unreq V
.unreq N .unreq N
.endfunc
.purgem do_yuv_to_rgb .purgem do_yuv_to_rgb
.purgem do_yuv_to_rgb_stage1 .purgem do_yuv_to_rgb_stage1