diff options
author | Adam Tkac <atkac@redhat.com> | 2010-01-19 11:09:59 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-01-19 11:09:59 +0000 |
commit | 364c4007a649018ada0865f909bf78a5d74593ce (patch) | |
tree | f606303e22a8b2454ec36f52fc1af39d09daafc6 | |
parent | bec66d47dc9324483dbb98e2dfb887678de09ed7 (diff) | |
download | tigervnc-364c4007a649018ada0865f909bf78a5d74593ce.tar.gz tigervnc-364c4007a649018ada0865f909bf78a5d74593ce.zip |
[Bugfix] Work around alignment issue with OS X linker which was causing
problems on Leopard and Snow Leopard (dcommander).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_0@3946 3789f03b-4d11-0410-bbf8-ca57d06f2519
31 files changed, 93 insertions, 0 deletions
diff --git a/common/jpeg/simd/jcclrmmx.asm b/common/jpeg/simd/jcclrmmx.asm index 34c4224f..b6b89121 100644 --- a/common/jpeg/simd/jcclrmmx.asm +++ b/common/jpeg/simd/jcclrmmx.asm @@ -474,3 +474,6 @@ EXTN(jsimd_rgb_ycc_convert_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jcclrss2.asm b/common/jpeg/simd/jcclrss2.asm index d6f868c5..8def718c 100644 --- a/common/jpeg/simd/jcclrss2.asm +++ b/common/jpeg/simd/jcclrss2.asm @@ -500,3 +500,6 @@ EXTN(jsimd_rgb_ycc_convert_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jcqnt3dn.asm b/common/jpeg/simd/jcqnt3dn.asm index 194b7f9b..182c8695 100644 --- a/common/jpeg/simd/jcqnt3dn.asm +++ b/common/jpeg/simd/jcqnt3dn.asm @@ -228,3 +228,6 @@ EXTN(jsimd_quantize_float_3dnow): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jcqntmmx.asm b/common/jpeg/simd/jcqntmmx.asm index fa54902a..08b08b79 100644 --- a/common/jpeg/simd/jcqntmmx.asm +++ b/common/jpeg/simd/jcqntmmx.asm @@ -269,3 +269,6 @@ EXTN(jsimd_quantize_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jcqnts2f.asm b/common/jpeg/simd/jcqnts2f.asm index 19c1d017..d80ae5dc 100644 --- a/common/jpeg/simd/jcqnts2f.asm +++ b/common/jpeg/simd/jcqnts2f.asm @@ -166,3 +166,6 @@ EXTN(jsimd_quantize_float_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jcqnts2i.asm b/common/jpeg/simd/jcqnts2i.asm index 404ae957..0864d6ed 100644 --- a/common/jpeg/simd/jcqnts2i.asm +++ b/common/jpeg/simd/jcqnts2i.asm @@ -195,3 +195,6 @@ EXTN(jsimd_quantize_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jcqntsse.asm b/common/jpeg/simd/jcqntsse.asm index 0f412d7e..3065eca8 100644 --- a/common/jpeg/simd/jcqntsse.asm +++ b/common/jpeg/simd/jcqntsse.asm @@ -206,3 +206,6 @@ EXTN(jsimd_quantize_float_sse): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jcsammmx.asm b/common/jpeg/simd/jcsammmx.asm index 982a6e0d..c7126a0d 100644 --- a/common/jpeg/simd/jcsammmx.asm +++ b/common/jpeg/simd/jcsammmx.asm @@ -319,3 +319,6 @@ EXTN(jsimd_h2v2_downsample_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jcsamss2.asm b/common/jpeg/simd/jcsamss2.asm index 98e97da4..818e911d 100644 --- a/common/jpeg/simd/jcsamss2.asm +++ b/common/jpeg/simd/jcsamss2.asm @@ -346,3 +346,6 @@ EXTN(jsimd_h2v2_downsample_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jdclrmmx.asm b/common/jpeg/simd/jdclrmmx.asm index 09f72ca3..79772e0c 100644 --- a/common/jpeg/simd/jdclrmmx.asm +++ b/common/jpeg/simd/jdclrmmx.asm @@ -402,3 +402,6 @@ EXTN(jsimd_ycc_rgb_convert_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jdclrss2.asm b/common/jpeg/simd/jdclrss2.asm index 06a9adee..865fa824 100644 --- a/common/jpeg/simd/jdclrss2.asm +++ b/common/jpeg/simd/jdclrss2.asm @@ -500,3 +500,6 @@ EXTN(jsimd_ycc_rgb_convert_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jdmrgmmx.asm b/common/jpeg/simd/jdmrgmmx.asm index 08b0985d..f5fa9363 100644 --- a/common/jpeg/simd/jdmrgmmx.asm +++ b/common/jpeg/simd/jdmrgmmx.asm @@ -461,3 +461,6 @@ EXTN(jsimd_h2v2_merged_upsample_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jdmrgss2.asm b/common/jpeg/simd/jdmrgss2.asm index 5018a236..99b7eb9f 100644 --- a/common/jpeg/simd/jdmrgss2.asm +++ b/common/jpeg/simd/jdmrgss2.asm @@ -559,3 +559,6 @@ EXTN(jsimd_h2v2_merged_upsample_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jdsammmx.asm b/common/jpeg/simd/jdsammmx.asm index e05d540e..c09e5b96 100644 --- a/common/jpeg/simd/jdsammmx.asm +++ b/common/jpeg/simd/jdsammmx.asm @@ -732,3 +732,6 @@ EXTN(jsimd_h2v2_upsample_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jdsamss2.asm b/common/jpeg/simd/jdsamss2.asm index 7d787f1c..b5c863b4 100644 --- a/common/jpeg/simd/jdsamss2.asm +++ b/common/jpeg/simd/jdsamss2.asm @@ -724,3 +724,6 @@ EXTN(jsimd_h2v2_upsample_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jf3dnflt.asm b/common/jpeg/simd/jf3dnflt.asm index ed7e6a0b..542672dc 100644 --- a/common/jpeg/simd/jf3dnflt.asm +++ b/common/jpeg/simd/jf3dnflt.asm @@ -315,3 +315,6 @@ EXTN(jsimd_fdct_float_3dnow): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jfmmxfst.asm b/common/jpeg/simd/jfmmxfst.asm index 3511457d..0647242a 100644 --- a/common/jpeg/simd/jfmmxfst.asm +++ b/common/jpeg/simd/jfmmxfst.asm @@ -392,3 +392,6 @@ EXTN(jsimd_fdct_ifast_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jfmmxint.asm b/common/jpeg/simd/jfmmxint.asm index e018e6bf..a7e73f73 100644 --- a/common/jpeg/simd/jfmmxint.asm +++ b/common/jpeg/simd/jfmmxint.asm @@ -617,3 +617,6 @@ EXTN(jsimd_fdct_islow_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jfss2fst.asm b/common/jpeg/simd/jfss2fst.asm index f0ad9621..73fc9e51 100644 --- a/common/jpeg/simd/jfss2fst.asm +++ b/common/jpeg/simd/jfss2fst.asm @@ -399,3 +399,6 @@ EXTN(jsimd_fdct_ifast_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jfss2int.asm b/common/jpeg/simd/jfss2int.asm index 5338db32..5e3f2aaa 100644 --- a/common/jpeg/simd/jfss2int.asm +++ b/common/jpeg/simd/jfss2int.asm @@ -629,3 +629,6 @@ EXTN(jsimd_fdct_islow_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jfsseflt.asm b/common/jpeg/simd/jfsseflt.asm index 9b8d04ce..bc54cccd 100644 --- a/common/jpeg/simd/jfsseflt.asm +++ b/common/jpeg/simd/jfsseflt.asm @@ -365,3 +365,6 @@ EXTN(jsimd_fdct_float_sse): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/ji3dnflt.asm b/common/jpeg/simd/ji3dnflt.asm index 6c9abca7..dc2076f4 100644 --- a/common/jpeg/simd/ji3dnflt.asm +++ b/common/jpeg/simd/ji3dnflt.asm @@ -447,3 +447,6 @@ EXTN(jsimd_idct_float_3dnow): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jimmxfst.asm b/common/jpeg/simd/jimmxfst.asm index e5802ace..3b055727 100644 --- a/common/jpeg/simd/jimmxfst.asm +++ b/common/jpeg/simd/jimmxfst.asm @@ -495,3 +495,6 @@ EXTN(jsimd_idct_ifast_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jimmxint.asm b/common/jpeg/simd/jimmxint.asm index 563f41c5..7b52fae3 100644 --- a/common/jpeg/simd/jimmxint.asm +++ b/common/jpeg/simd/jimmxint.asm @@ -847,3 +847,6 @@ EXTN(jsimd_idct_islow_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jimmxred.asm b/common/jpeg/simd/jimmxred.asm index 4ee34a0a..a2b7103d 100644 --- a/common/jpeg/simd/jimmxred.asm +++ b/common/jpeg/simd/jimmxred.asm @@ -701,3 +701,6 @@ EXTN(jsimd_idct_2x2_mmx): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jiss2flt.asm b/common/jpeg/simd/jiss2flt.asm index fc9e21a2..17bc3633 100644 --- a/common/jpeg/simd/jiss2flt.asm +++ b/common/jpeg/simd/jiss2flt.asm @@ -493,3 +493,6 @@ EXTN(jsimd_idct_float_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jiss2fst.asm b/common/jpeg/simd/jiss2fst.asm index fda073f5..b53664d7 100644 --- a/common/jpeg/simd/jiss2fst.asm +++ b/common/jpeg/simd/jiss2fst.asm @@ -497,3 +497,6 @@ EXTN(jsimd_idct_ifast_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jiss2int.asm b/common/jpeg/simd/jiss2int.asm index d568dada..adf39fb3 100644 --- a/common/jpeg/simd/jiss2int.asm +++ b/common/jpeg/simd/jiss2int.asm @@ -854,3 +854,6 @@ EXTN(jsimd_idct_islow_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jiss2red.asm b/common/jpeg/simd/jiss2red.asm index 10046e9a..238c61d0 100644 --- a/common/jpeg/simd/jiss2red.asm +++ b/common/jpeg/simd/jiss2red.asm @@ -589,3 +589,6 @@ EXTN(jsimd_idct_2x2_sse2): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jisseflt.asm b/common/jpeg/simd/jisseflt.asm index db9d1a39..d6147c12 100644 --- a/common/jpeg/simd/jisseflt.asm +++ b/common/jpeg/simd/jisseflt.asm @@ -567,3 +567,6 @@ EXTN(jsimd_idct_float_sse): pop ebp ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 diff --git a/common/jpeg/simd/jsimdcpu.asm b/common/jpeg/simd/jsimdcpu.asm index 31f2a6ac..bdbcc231 100644 --- a/common/jpeg/simd/jsimdcpu.asm +++ b/common/jpeg/simd/jsimdcpu.asm @@ -100,3 +100,6 @@ EXTN(jpeg_simd_cpu_support): pop ebx ret +; For some reason, the OS X linker does not honor the request to align the +; segment unless we do this. + align 16 |