8f6d76e77d389a8a090c6f36eb852fd238159cea
explain/tinyelf-arm.md
... | ... | @@ -7,4 +7,13 @@ Looks like breadbox didn't want to go down *this* rabbithole. So we'll have to d |
7 | 7 | * However, on x86, we were using the way page mapping works to only have to specify a few flags, this probably can't be ported over. |
8 | 8 | * Each ARM opcode is 4 bytes long, and needs to be aligned. This kinda sucks for all the overlapping tricks. Also, arbitrary constants can't be loaded into registers easily. |
9 | 9 | * Do we want to depend on Thumb-mode? |
10 | -* [Dynamic linking stuff](https://linux.weeaboo.software/explain/rtld#dynamic-linking_arm) |
|
... | ... | \ No newline at end of file |
0 | +* Apparently the kernel doesn't look at the immediate field of `swi` instructions __if it's compiled as EABI-only__. |
|
1 | +* [Dynamic linking stuff](https://linux.weeaboo.software/explain/rtld#dynamic-linking_arm) |
|
2 | + |
|
3 | +### A few questions on the target platform |
|
4 | + |
|
5 | +* How many ARM Linux machines have... |
|
6 | + * Thumb support? (`thumb` in `/proc/cpuinfo`) |
|
7 | + * Halfword load/store support? (`ldrh`/`strh`, `half` in `/proc/cpuinfo`) |
|
8 | + * A fast multiplier? (`fastmult` in `/proc/cpuinfo`) |
|
9 | +* How many kernels are OABI, EABI with OABI support, or EABI-only? |