Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/arch/arm/sys



Module Name:    src
Committed By:   uwe
Date:           Wed May  7 03:02:56 UTC 2025

Modified Files:
        src/lib/libc/arch/arm/sys: cerror.S

Log Message:
arm: cerror.S - factor out code to return -1

Do not repeat verbose ifdefed code that sets (long long){ r0, r1 } to
-1LL that indicates an error return from a syscall.  Define it once as
a macro and use it.  Fix the code to actually be compilable as thumb
("mov" vs "movs").

Modulo one fixed "mov" vs "movs" the same object code is generated for
all 8 permutations of (arm/thumb x non/reentrant x absolute/pic).


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/arch/arm/sys/cerror.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index