| ... | @@ -1215,13 +1215,13 @@ const LinuxThreadImpl = struct { | ... | @@ -1215,13 +1215,13 @@ const LinuxThreadImpl = struct { |
| 1215 | \\ # is unmapped (it will result in a segfault), so we | 1215 | \\ # is unmapped (it will result in a segfault), so we |
| 1216 | \\ # force-deactivate it by running `restore` until | 1216 | \\ # force-deactivate it by running `restore` until |
| 1217 | \\ # all frames are cleared. | 1217 | \\ # all frames are cleared. |
| 1218 | \\ 1: | 1218 | \\ 1: |
| 1219 | \\ cmp %%fp, 0 | 1219 | \\ cmp %%fp, 0 |
| 1220 | \\ beq 2f | 1220 | \\ beq 2f |
| 1221 | \\ nop | 1221 | \\ nop |
| 1222 | \\ ba 1b | 1222 | \\ ba 1b |
| 1223 | \\ restore | 1223 | \\ restore |
| 1224 | \\ 2: | 1224 | \\ 2: |
| 1225 | \\ mov 73, %%g1 # SYS_munmap | 1225 | \\ mov 73, %%g1 # SYS_munmap |
| 1226 | \\ mov %[ptr], %%o0 | 1226 | \\ mov %[ptr], %%o0 |
| 1227 | \\ mov %[len], %%o1 | 1227 | \\ mov %[len], %%o1 |
| ... | @@ -1230,7 +1230,7 @@ const LinuxThreadImpl = struct { | ... | @@ -1230,7 +1230,7 @@ const LinuxThreadImpl = struct { |
| 1230 | \\ flushw | 1230 | \\ flushw |
| 1231 | \\ t 0x6d | 1231 | \\ t 0x6d |
| 1232 | \\ mov 1, %%g1 # SYS_exit | 1232 | \\ mov 1, %%g1 # SYS_exit |
| 1233 | \\ mov 1, %%o0 | 1233 | \\ mov 0, %%o0 |
| 1234 | \\ t 0x6d | 1234 | \\ t 0x6d |
| 1235 | : | 1235 | : |
| 1236 | : [ptr] "r" (@intFromPtr(self.mapped.ptr)), | 1236 | : [ptr] "r" (@intFromPtr(self.mapped.ptr)), |