Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From f9d9dc92d75f8910e3cd5fdcbea72e505cdf3493 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 5 Jul 2017 19:03:36 -0700 |
| 4 | Subject: [PATCH 2/2] Set visibility of global symbols used in ARM specific |
| 5 | assembly file to internal |
| 6 | |
| 7 | Taken from |
| 8 | http://sources.debian.net/src/mpeg2dec/0.5.1-7/debian/patches/60_arm-private-symbols.patch/ |
| 9 | |
| 10 | Upstream-Status: Pending |
| 11 | |
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 13 | --- |
| 14 | libmpeg2/motion_comp_arm_s.S | 12 ++++++++---- |
| 15 | 1 file changed, 8 insertions(+), 4 deletions(-) |
| 16 | |
| 17 | diff --git a/libmpeg2/motion_comp_arm_s.S b/libmpeg2/motion_comp_arm_s.S |
| 18 | index f6c3d7d..c921f7c 100644 |
| 19 | --- a/libmpeg2/motion_comp_arm_s.S |
| 20 | +++ b/libmpeg2/motion_comp_arm_s.S |
| 21 | @@ -23,7 +23,8 @@ |
| 22 | |
| 23 | @ ---------------------------------------------------------------- |
| 24 | .align |
| 25 | - .global MC_put_o_16_arm |
| 26 | + .global MC_put_o_16_arm |
| 27 | + .internal MC_put_o_16_arm |
| 28 | MC_put_o_16_arm: |
| 29 | @@ void func(uint8_t * dest, const uint8_t * ref, int stride, int height) |
| 30 | pld [r1] |
| 31 | @@ -83,7 +84,8 @@ MC_put_o_16_arm_align_jt: |
| 32 | |
| 33 | @ ---------------------------------------------------------------- |
| 34 | .align |
| 35 | - .global MC_put_o_8_arm |
| 36 | + .global MC_put_o_8_arm |
| 37 | + .internal MC_put_o_8_arm |
| 38 | MC_put_o_8_arm: |
| 39 | @@ void func(uint8_t * dest, const uint8_t * ref, int stride, int height) |
| 40 | pld [r1] |
| 41 | @@ -152,7 +154,8 @@ MC_put_o_8_arm_align_jt: |
| 42 | .endm |
| 43 | |
| 44 | .align |
| 45 | - .global MC_put_x_16_arm |
| 46 | + .global MC_put_x_16_arm |
| 47 | + .internal MC_put_x_16_arm |
| 48 | MC_put_x_16_arm: |
| 49 | @@ void func(uint8_t * dest, const uint8_t * ref, int stride, int height) |
| 50 | pld [r1] |
| 51 | @@ -244,7 +247,8 @@ MC_put_x_16_arm_align_jt: |
| 52 | |
| 53 | @ ---------------------------------------------------------------- |
| 54 | .align |
| 55 | - .global MC_put_x_8_arm |
| 56 | + .global MC_put_x_8_arm |
| 57 | + .internal MC_put_x_8_arm |
| 58 | MC_put_x_8_arm: |
| 59 | @@ void func(uint8_t * dest, const uint8_t * ref, int stride, int height) |
| 60 | pld [r1] |
| 61 | -- |
| 62 | 2.13.2 |
| 63 | |