diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-12-25 16:00:48 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-12-25 16:00:48 +0000 |
commit | b80e8e31bd956b3a8de4d75f4fa3d1442a52aafa (patch) | |
tree | a3c79555311143517a5b60b630d9dc8f544723bc /main/libmpeg2/arm-private-symbols.patch | |
parent | cc2431181fa85fea136f989523f99de5e5c7745a (diff) | |
download | aports-b80e8e31bd956b3a8de4d75f4fa3d1442a52aafa.tar.bz2 aports-b80e8e31bd956b3a8de4d75f4fa3d1442a52aafa.tar.xz |
main/libmpeg2: fix arm relocations
arm-private-symbols from da internet, arm-textrel is by me, very
untested and can break everything.
Diffstat (limited to 'main/libmpeg2/arm-private-symbols.patch')
-rw-r--r-- | main/libmpeg2/arm-private-symbols.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/main/libmpeg2/arm-private-symbols.patch b/main/libmpeg2/arm-private-symbols.patch new file mode 100644 index 0000000000..222ff9954e --- /dev/null +++ b/main/libmpeg2/arm-private-symbols.patch @@ -0,0 +1,44 @@ +Set visibility of global symbols used in ARM specific assembly file to internal + +--- a/libmpeg2/motion_comp_arm_s.S ++++ b/libmpeg2/motion_comp_arm_s.S +@@ -23,7 +23,8 @@ + + @ ---------------------------------------------------------------- + .align +- .global MC_put_o_16_arm ++ .global MC_put_o_16_arm ++ .internal MC_put_o_16_arm + MC_put_o_16_arm: + @@ void func(uint8_t * dest, const uint8_t * ref, int stride, int height) + pld [r1] +@@ -83,7 +84,8 @@ + + @ ---------------------------------------------------------------- + .align +- .global MC_put_o_8_arm ++ .global MC_put_o_8_arm ++ .internal MC_put_o_8_arm + MC_put_o_8_arm: + @@ void func(uint8_t * dest, const uint8_t * ref, int stride, int height) + pld [r1] +@@ -152,7 +154,8 @@ + .endm + + .align +- .global MC_put_x_16_arm ++ .global MC_put_x_16_arm ++ .internal MC_put_x_16_arm + MC_put_x_16_arm: + @@ void func(uint8_t * dest, const uint8_t * ref, int stride, int height) + pld [r1] +@@ -244,7 +247,8 @@ + + @ ---------------------------------------------------------------- + .align +- .global MC_put_x_8_arm ++ .global MC_put_x_8_arm ++ .internal MC_put_x_8_arm + MC_put_x_8_arm: + @@ void func(uint8_t * dest, const uint8_t * ref, int stride, int height) + pld [r1] |