Uh oh!
There was an error while loading. Please reload this page.
preliminary Linux ARM support - #6249
Conversation
crabtw
commented
May 6, 2013
Here is a LLVM patch for segmented stacks |
There was a problem hiding this comment.
Perhaps also add RUSTC_FLAGS_arm-unknown-linux-gnueabihf :=--linker $(CC_arm-unknown-linux-gnueabihf)
ILyoan
commented
May 7, 2013
Great!! but I'm not sure if it's safe to use 1'st TLS slot to store stack limit. |
There was a problem hiding this comment.
I don't think noexecstack is needed now that the assembly objects are marked as having non-executable stacks.
luqmana
commented
May 7, 2013
@ILyoan@crabtw Currently and in this patch, the TLS base address is loaded via the system control coprocessor with |
crabtw
commented
May 7, 2013
@ILyoan It's actually not a TLS slot. It's a private field of TCB. I am not sure if it is safe to use it. |
crabtw
commented
May 7, 2013
I removed |
crabtw
commented
May 7, 2013
@luqmana Loading from magic address is fine for me. |
brson
commented
May 9, 2013
I opened #6367 to batch up and merge our pending LLVM patches. |
It uses the private field of TCB head to store stack limit. I tested on my Raspberry PI. A simple hello world program ran without any problem. However, for a more complex program, it segfaulted as #6231.
It uses the private field of TCB head to store stack limit. I tested on my Raspberry PI. A simple hello world program ran without any problem. However, for a more complex program, it segfaulted as #6231.