summaryrefslogtreecommitdiff
path: root/user/libmpeg2/arm-private-symbols.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 03:14:35 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 03:14:35 -0500
commitce782318ca2fe30d0157903314b64d01425874b0 (patch)
treef2e614319e93ab883ce6b775cc8f0f913dea9a56 /user/libmpeg2/arm-private-symbols.patch
parent41328727953b445d8504cb6e81aaaf5093bcc084 (diff)
downloadpackages-ce782318ca2fe30d0157903314b64d01425874b0.tar.gz
packages-ce782318ca2fe30d0157903314b64d01425874b0.tar.bz2
packages-ce782318ca2fe30d0157903314b64d01425874b0.tar.xz
packages-ce782318ca2fe30d0157903314b64d01425874b0.zip
user/libmpeg2: pull in, fix license, modernise
Diffstat (limited to 'user/libmpeg2/arm-private-symbols.patch')
-rw-r--r--user/libmpeg2/arm-private-symbols.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/libmpeg2/arm-private-symbols.patch b/user/libmpeg2/arm-private-symbols.patch
new file mode 100644
index 000000000..222ff9954
--- /dev/null
+++ b/user/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]