Skip to content

Commit d2a6285

Browse files
authored
The assembly microkernel is not safe to use on ELFv1
1 parent d999688 commit d2a6285

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kernel/power/izamin.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,14 +314,16 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
314314

315315
if (inc_x == 1) {
316316
minf = CABS1(x,0); //index will not be incremented
317+
318+
#if defined(_CALL_ELF) && (_CALL_ELF == 2)
317319
BLASLONG n1 = n & -16;
318320
if (n1 > 0) {
319321

320322
min = ziamin_kernel_16_TUNED(n1, x, &minf);
321323
i = n1;
322324
ix = n1 << 1;
323325
}
324-
326+
#endif
325327

326328
while(i < n)
327329
{

0 commit comments

Comments
 (0)