summaryrefslogtreecommitdiff
path: root/src/setjmp
AgeCommit message (Collapse)AuthorFilesLines
2012-11-14fix indention with spaces in powerpc asmRich Felker2-10/+10
2012-11-13PPC port cleaned up, static linking works well now.rofl0r4-35/+87
2012-11-13import preliminary ppc work by rdp.Richard Pennington2-0/+35
2012-09-29microblaze portRich Felker2-0/+58
based on initial work by rdp, with heavy modifications. some features including threads are untested because qemu app-level emulation seems to be broken and I do not have a proper system image for testing.
2012-08-05floating point support for arm setjmp/longjmpRich Felker2-2/+54
not heavily tested, but at least they don't seem to break anything on soft float targets with or without coprocessors. they check the auxv AT_HWCAP flags to determine which coprocessor, if any, is available.
2012-07-27optimize arm setjmp/longjmp register saving/loadingRich Felker2-6/+2
the original code was wrongly based on how it would be done in thumb mode, but that's not needed because musl's asm only targets arm.
2012-07-22add floating point register saving/restoring to mips setjmp/longjmpRich Felker2-1/+29
also fix the alignment of jmp_buf to meet the abi. linux always emulates fpu on mips if it's not present, so enabling this code unconditionally is "safe" but may be slow. in the long term it may be preferable to find a way to disable it on soft float builds.
2012-07-11initial version of mips (o32) port, based on work by Richard Pennington (rdp)Rich Felker2-0/+50
basically, this version of the code was obtained by starting with rdp's work from his ellcc source tree, adapting it to musl's build system and coding style, auditing the bits headers for discrepencies with kernel definitions or glibc/LSB ABI or large file issues, fixing up incompatibility with the old binutils from aboriginal linux, and adding some new special cases to deal with the oddities of sigaction and pipe syscall interfaces on mips. at present, minimal test programs work, but some interfaces are broken or missing. threaded programs probably will not link.
2012-05-05update license of njk contributed code (x86_64 asm)Rich Felker2-2/+2
these changes are based on the following communication via email: "I hereby grant that all of the code I have contributed to musl on or before April 23, 2012 may be licensed under the terms of the following MIT license: Copyright (c) 2011-2012 Nicholas J. Kain Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
2011-09-18initial commit of the arm portRich Felker2-0/+32
this port assumes eabi calling conventions, eabi linux syscall convention, and presence of the kernel helpers at 0xffff0f?0 needed for threads support. otherwise it makes very few assumptions, and the code should work even on armv4 without thumb support, as well as on systems with thumb interworking. the bits headers declare this a little endian system, but as far as i can tell the code should work equally well on big endian. some small details are probably broken; so far, testing has been limited to qemu/aboriginal linux.
2011-06-14restore use of .type in asm, but use modern @function (vs %function)Rich Felker4-0/+10
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 Felker4-20/+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 Felker4-35/+35
2011-02-15Port musl to x86-64. One giant commit!Nicholas J. Kain2-0/+49
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker4-0/+45