summaryrefslogtreecommitdiff
path: root/src/setjmp/i386
AgeCommit message (Collapse)AuthorLines
2020-08-12setjmp: optimize longjmp prologuesAlexander Monakov-4/+2
Use a branchless sequence that is one byte shorter on 64-bit, same size on 32-bit. Thanks to Pete Cawley for suggesting this variant.
2020-08-11setjmp: optimize x86 longjmp epiloguesAlexander Monakov-4/+2
2015-04-18remove the last of possible-textrels from i386 asmRich Felker-0/+3
none of these are actual textrels because of ld-time binding performed by -Bsymbolic-functions, but I'm changing them with the goal of making ld-time binding purely an optimization rather than relying on it for semantic purposes. in the case of memmove's call to memcpy, making it explicit that the memmove asm is assuming the forward-copying behavior of the memcpy asm is desirable anyway; in case memcpy is ever changed, the semantic mismatch would be apparent while editing memmcpy.s.
2011-06-14restore use of .type in asm, but use modern @function (vs %function)Rich Felker-0/+5
this seems to be necessary to make the linker accept the functions in a shared library (perhaps to generate PLT entries?) strictly speaking libc-internal asm should not need it. i might clean that up later.
2011-06-13remove all .size and .type directives for functions from the asmRich Felker-10/+0
these are useless and have caused problems for users trying to build with non-gnu tools like tcc's assembler.
2011-05-26modernize coding style in sjlj asmRich Felker-23/+23
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+45