diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-05-17 23:46:09 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-05-17 23:46:09 +0200 |
commit | 0002fd0cf786d16c9b3e1ab62f0cb92b2461f185 (patch) | |
tree | b49f7135f649ad7727ba665a744cb1f7b60e9faa /sys/src/cmd/python/Python/fmod.c | |
parent | b599dc0e5486923085f238e146d5a1750bc168a9 (diff) |
libc/arm64: work arround linker bug for cas()
at the _cas0 label, the linker would generate spurious stack
adjustment before the return:
atexitdont+0x84 0x000000000003614c CLREX $0xf
atexitdont+0x88 0x0000000000036150 MOVW R31,R0
atexitdont+0x8c 0x0000000000036154 MOV (SP)16!,R30 <- ????????????
atexitdont+0x90 0x0000000000036158 RETURN
the work arround is to move the code into its own cas0
text symbol.
this fixes impossible cwfs crashes in srvi().
Diffstat (limited to 'sys/src/cmd/python/Python/fmod.c')
0 files changed, 0 insertions, 0 deletions