Skip to content

Commit 2742ab4

Browse files
committed
compiler-rt: Fix R_ARM_ABS32 relocation error in __clzsi2_thumb1().
Closes #22050.
1 parent 66a7c09 commit 2742ab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/compiler_rt/count0bits.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ fn __clzsi2_thumb1() callconv(.Naked) void {
7373
\\ subs r1, #4
7474
\\ movs r0, r2
7575
\\ 1:
76-
\\ ldr r3, =LUT
76+
\\ ldr r3, .lut
7777
\\ ldrb r0, [r3, r0]
7878
\\ subs r0, r1, r0
7979
\\ bx lr
8080
\\ .p2align 2
8181
\\ // Number of bits set in the 0-15 range
82-
\\ LUT:
82+
\\ .lut:
8383
\\ .byte 0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4
8484
);
8585

0 commit comments

Comments
 (0)