Home | History | Annotate | Download | only in sys
History log of /src/lib/libc/arch/arm/sys/__clone.S
RevisionDateAuthorComments
 1.14  30-Jun-2021  skrll Do previous differtly by pushing two registers in the same way as the
_INVOKE_CERROR macro
 1.13  30-Jun-2021  skrll The _INVOKE_CERROR macro deals with thumb so simplify the code (at the
expense of a couple more instructions).
 1.12  30-Jun-2021  skrll Trailing whitespace
 1.11  30-Jun-2021  rin Fix previous. For Thumb-1:
- sp cannot be manipulated directly
- {add,sub}s should be used instead of {add,sub}
 1.10  29-Jun-2021  rin Align sp to 8-byte boundary as required by EABI.

IIUC, this change only affects libc compiled for ``Thumb-mode userland'',
which we've not officially supported yet.
 1.9  30-Nov-2013  joerg branches: 1.9.28;
Use PLT_SYM.
 1.8  03-Sep-2013  matt Use less got, add END(), make thumb tolerant.
 1.7  01-Aug-2013  matt CERROR is now hidden so no need to call it via the PLT
 1.6  24-Apr-2006  snj branches: 1.6.10; 1.6.44; 1.6.50;
It's "its."
 1.5  21-Aug-2004  rearnsha Use RETc for returning. When v4T or later use BX for calling the target.
 1.4  05-Apr-2003  bjh21 NetBSD/acorn26 has been using APCS-32 for years, so unifdef -U__APCS_26__.
 1.3  27-Aug-2002  mycroft Do the appropriate PIC magic for the jump to _exit().
 1.2  17-Aug-2002  thorpej Local label fixup.
 1.1  22-Jul-2001  chris branches: 1.1.2; 1.1.4;
Add __clone() for arm.
 1.1.4.1  27-Aug-2002  lukem Pull up revision 1.3 (requested by mycroft in ticket #737):
Do the appropriate PIC magic for the jump to _exit().
 1.1.2.4  17-Sep-2002  nathanw Catch up to -current.
 1.1.2.3  27-Aug-2002  nathanw Catch up to -current.
 1.1.2.2  08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1  22-Jul-2001  nathanw file __clone.S was added on branch nathanw_sa on 2001-10-08 20:17:07 +0000
 1.6.50.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.44.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.10.1  28-Aug-2007  matt More thumb support
 1.9.28.1  08-Aug-2021  martin Pull up following revision(s) (requested by skrll in ticket #1329):

lib/libc/arch/arm/gen/swapcontext.S: revision 1.18
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/divsi3.S: revision 1.2
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/divsi3.S: revision 1.3
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_cfcmp.S: revision 1.2
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/aeabi_cfcmp.S: revision 1.3
lib/libc/arch/arm/sys/__clone.S: revision 1.10
lib/libc/arch/arm/sys/__clone.S: revision 1.11
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/modsi3.S: revision 1.2
lib/libc/arch/arm/sys/__clone.S: revision 1.12
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/modsi3.S: revision 1.3
lib/libc/arch/arm/sys/__clone.S: revision 1.13
lib/libc/arch/arm/sys/__clone.S: revision 1.14
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/divmodsi4.S: revision 1.2
sys/external/bsd/compiler_rt/dist/lib/builtins/arm/divmodsi4.S: revision 1.3
lib/libc/arch/arm/gen/swapcontext.S: revision 1.16
lib/libc/arch/arm/gen/swapcontext.S: revision 1.17

Align sp to 8-byte boundary as required by EABI.

This is especially important for non-leaf functions; GCC optimizes codes
based on assumption that sp is aligned properly.

Mostly fix broken earmv5 userland compiled by GCC10 due to alignment
faults in ld.elf_so, where {ld,st}rd are used for [sp, #8x].

No regression for ATF is observed for earmv[67]{,hf}{,eb}.

Align sp to 8-byte boundary as required by EABI.
IIUC, this change only affects libc compiled for ``Thumb-mode userland'',
which we've not officially supported yet.

Fix previous. For Thumb-1:
- sp cannot be manipulated directly
- {add,sub}s should be used instead of {add,sub}

Trailing whitespace

The _INVOKE_CERROR macro deals with thumb so simplify the code (at the
expense of a couple more instructions).

Do previous differently by pushing even number of registers and remove
strange r7 usage.

Do previous differtly by pushing two registers in the same way as the
_INVOKE_CERROR macro

RSS XML Feed