forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
- fix crash on arm+linux+musl
- upstream
- add
-z textto gcc flags on buildroot+musl
- use as experimentation platform
- support for more machine APIs on Linux
- compare with circuitpython
- SPI
- I2C
- Pin (GPIO)
- UART
crash
The issue is a .text relocation:
[12] .text PROGBITS 00009418 009418 029db8 00 AX 0 0 8
...
0x00000016 (TEXTREL) 0x0
...
000095f0 00000017 R_ARM_RELATIVE
<nsz> this is a pie, textrel can happen if you link non-pic code into a pic binary
<nsz> 000095f0 00000017 R_ARM_RELATIVE
<nsz> that is a relative reloc against something in .text
<nsz> you have to figure out what that is (probably a pointer in literal pool next to a function)
The problematic snippet can simply be replaced by b nlr_push_tail.
Metadata
Metadata
Assignees
Labels
No labels