aboutsummaryrefslogtreecommitdiff
path: root/py/nlrx64.S
AgeCommit message (Collapse)Author
2017-03-06py/nlrx64: Convert from assembler to C file with inline asm.Damien George
2017-03-06py: Move locals/globals dicts to the thread-specific state.Damien George
Each threads needs to have its own private references to its current locals/globals dicts, otherwise functions running within different contexts (eg imported from different files) can behave very strangely.
2017-02-08py/nlr: Fix execstack builds for ARM.Dave Hylands
It seems that the gcc toolchain on the RaspberryPi likes %progbits instead of @progbits. I verified that %progbits also works under x86, so this should fix #2848 and fix #2842 I verified that unix and mpy-cross both compile on my RaspberryPi and on my x64 machine.
2017-02-01unix: Make stack be non-executableDave Hylands
This PR is to address issue #2812.
2016-07-11py/nlrx64.S: Prefix mp_thread_get_state with an underscore on Mac.Damien George
2016-06-28py: Add basic _thread module, with ability to start a new thread.Damien George
2015-11-24nlr: Use single preprocessor symbol to check if building on Windowsstijn
2015-01-08py: Fix nlr mp_state_ctx symbol error for Mac.Damien George
2015-01-07py: Put all global state together in state structures.Damien George
This patch consolidates all global variables in py/ core into one place, in a global structure. Root pointers are all located together to make GC tracing easier and more efficient.
2015-01-01py: Move global variable nlr_top to one place, in a .c file.Damien George
This reduces dependency on assembler, and allows to consolidate global variables in the future.
2014-09-26py: Clean up nlr*.S to make it easier to read; fix clang .bss error.Damien George
It seems that newer versions of clang don't like the .bss directive, so we don't use it for OSX. Addressing issues #865 and #875.
2014-05-12unix: Create __bss_start and _end symbols for Mach-O targets.Antonin ENFRUN
It's a hack, but can't find a cleaner way to do it.
2014-05-03Add license header to (almost) all files.Damien George
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
2014-04-30py: If setjmp NLR implementation is forced, omit native versions.Paul Sokolovsky
2014-04-08Add a check for NULL nlr_top in nlr_jump.Damien George
If no nlr_buf has been pushed, and an nlr_jump is called, then control is transferred to nlr_jump_fail (which should bail out with a fatal error).
2014-04-03Changes to get unix/ port compiling on Cygwin.Damien George
2014-03-22Fix OS X detection.xbe
Switch to checking for the __APPLE__ and __MACH__ macros.
2014-02-11Typo fix in comment.Paul Sokolovsky
2014-01-04OSX: fixes to make nlrx64.S with Apple's clang (switched to Apple-specific ↵Mikael Eiman
define instead of __llvm__)
2014-01-04OSX: fixes to make nlrx64.S with Apple's clang (forgot a few places)Mikael Eiman
2014-01-04OSX: fixes to make nlrx64.S with Apple's clangMikael Eiman
2013-12-30Make "unix" target be crossplatform and support x86, x64, ARM hosts.Paul Sokolovsky