Ping (with Szabolcs remarks fixed).
On 07/02/2018 16:07, Adhemerval Zanella wrote:
> Changes from previous version:
>
> - Changed the wait to call __morestack to use use a branch with link
> instead of a simple branch. This allows use a call instruction and
> avoid possible issues with
On 13/02/2018 13:13, Szabolcs Nagy wrote:
> On 07/02/18 18:07, Adhemerval Zanella wrote:
> 5. The TCB support on GLIBC is meant to be included in version 2.28.
>>
> ...
>> +/* -fsplit-stack uses a TCB field available on glibc-2.27. GLIBC also
>> + exports symbol, __tcb_private_ss, to signal i
Hi Adhemerval,
A few comments on the assembly code:
+# This function is called with non-standard calling convention: on entry
+# x10 is the requested stack pointer, x11 is previous stack pointer (if
+# functions has stacked arguments which needs to be restored), and x12 is
+# the caller link reg
On 07/02/18 18:07, Adhemerval Zanella wrote:
5. The TCB support on GLIBC is meant to be included in version 2.28.
...
+/* -fsplit-stack uses a TCB field available on glibc-2.27. GLIBC also
+ exports symbol, __tcb_private_ss, to signal it has the field available
+ on TCB bloc. This aims
Changes from previous version:
- Changed the wait to call __morestack to use use a branch with link
instead of a simple branch. This allows use a call instruction and
avoid possible issues with later optimization passes which might
see a branch outside the instruction block (as noti