File 0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch of Package ffmpeg-4
xxxxxxxxxx
1
From 654bd47716c4f36719fb0f3f7fd8386d5ed0b916 Mon Sep 17 00:00:00 2001
2
From: Ross Burton <ross.burton@arm.com>
3
Date: Fri, 9 Aug 2024 11:32:00 +0100
4
Subject: [PATCH] libavcodec/arm/mlpdsp_armv5te: fix label format to work with
5
binutils 2.43
6
MIME-Version: 1.0
7
Content-Type: text/plain; charset=UTF-8
8
Content-Transfer-Encoding: 8bit
9
10
binutils 2.43 has stricter validation for labels[1] and results in errors
11
when building ffmpeg for armv5:
12
13
src/libavcodec/arm/mlpdsp_armv5te.S:232: Error: junk at end of line, first unrecognized character is `0'
14
15
Remove the leading zero in the "01" label to resolve this error.
16
17
[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=226749d5a6ff0d5c607d6428d6c81e1e7e7a994b
18
19
Signed-off-by: Ross Burton <ross.burton@arm.com>
20
Signed-off-by: Martin Storsjö <martin@martin.st>
21
---
22
libavcodec/arm/mlpdsp_armv5te.S | 6 +++---
23
1 file changed, 3 insertions(+), 3 deletions(-)
24
25
diff --git a/libavcodec/arm/mlpdsp_armv5te.S b/libavcodec/arm/mlpdsp_armv5te.S
26
index 4f9aa485fd..d31568611c 100644
27
--- a/libavcodec/arm/mlpdsp_armv5te.S
28
+++ b/libavcodec/arm/mlpdsp_armv5te.S
29
30
.endif
31
32
// Begin loop
33
-01:
34
+1:
35
.if TOTAL_TAPS == 0
36
// Things simplify a lot in this case
37
// In fact this could be pipelined further if it's worth it...
38
39
str ST0, [PST, #-4]!
40
str ST0, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
41
str ST0, [PSAMP], #4 * MAX_CHANNELS
42
- bne 01b
43
+ bne 1b
44
.else
45
.if \fir_taps & 1
46
.set LOAD_REG, 1
47
48
str ST3, [PST, #-4]!
49
str ST2, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
50
str ST3, [PSAMP], #4 * MAX_CHANNELS
51
- bne 01b
52
+ bne 1b
53
.endif
54
b 99f
55
56
--
57
2.46.0
58
59