I'd like to try this again --- it's needed for any platform with stack-below-heap, such as the Pico. This is useful for making minimal process sizes work, which is needed on the Pico to let it run swapless. (I'm also looking at doing this on the ESP8266, but that's more difficult due to the exotic memory layout.)
I remember you saying that you reverted it due to this breaking some of the other platforms. I've tried this change on the Z80 (the trs80 platform) and it seemed fine there, so I'm wondering whether the problem was something else. Do you recall any specific platforms that were broken that I should try with?
I'd like to try this again --- it's needed for any platform with stack-below-heap, such as the Pico. This is useful for making minimal process sizes work, which is needed on the Pico to let it run swapless. (I'm also looking at doing this on the ESP8266, but that's more difficult due to the exotic memory layout.)
I remember you saying that you reverted it due to this breaking some of the other platforms. I've tried this change on the Z80 (the trs80 platform) and it seemed fine there, so I'm wondering whether the problem was something else. Do you recall any specific platforms that were broken that I should try with?