Browse Source

The assembly microkernel is not safe to use on ELFv1

tags/v0.3.8^2
Martin Kroeker GitHub 6 years ago
parent
commit
68597002ea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      kernel/power/izamax.c

+ 2
- 0
kernel/power/izamax.c View File

@@ -316,6 +316,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
if (inc_x == 1) {

#if defined(_CALL_ELF) && (_CALL_ELF == 2)
BLASLONG n1 = n & -16;
if (n1 > 0) {

@@ -323,6 +324,7 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
i = n1;
ix = n1 << 1;
}
#endif

while(i < n)
{


Loading…
Cancel
Save