Frederik Carlier
a61309b0d3
Support compiling on mingw (no exception handling)
2 years ago
Riccardo Mottola
b660bdb91e
add 4 bytes of padding for stack alignment, as suggested by David.
5 years ago
David Chisnall
414e0baa0e
Add Control Flow Guard checks on Windows.
7 years ago
David Chisnall
537c409722
Tweak objc_msgSend to work correctly on win32.
8 years ago
Dustin Howett
072972600a
fix objc_msgSend.x86-32.S for win32
8 years ago
David Chisnall
5dd82df81e
Fix x86-32 objc_msgSend for new sarray structure.
10 years ago
ericwa
317e951b0c
libobjc2: some changes needed to build on OS X. CDECL macro to prefix symbol names in assembly code with an underscore, macros to omit the .type and .section derictives which are unsupported on OS X, and also a linker flag to make weak symbols work
13 years ago
theraven
d80689e3e4
Remove the test for whether the uninstalled dtable is present from
...
objc_msgSend(). If the class does have the uninstalled dtable, then every
method will be the nil slot and so, after navigating the dtable we will
discover that it is nil and go into the slow path. The cost of this change is
a slight slowdown in the first message sent to every class. The benefit is
that every subsequent message send needs one fewer memory access and one fewer
conditional jump.
13 years ago
theraven
1a386c9efd
Fix the GOT-relative addressing in 32-bit message sends.
...
Thanks to Banlu for helping track this down.
13 years ago
theraven
5cd0a37e27
Change how we do GOT-relative relocations in objc_msgSend on i386 to make gas
...
happier.
13 years ago
theraven
d8192c3a64
Always return 64-bit 0 in response to a message to nil on x86.
14 years ago
theraven
3259504d4c
Fix for last commit.
14 years ago
theraven
949469677e
Fpret stuff (not very tested).
14 years ago
theraven
27452f82f0
Some bug fixes.
14 years ago
theraven
3df41cba81
Bug fix x86-32...
14 years ago
theraven
fb1d76ceaa
Fix typo.
14 years ago
theraven
4c9acdf153
ARM stuff.
14 years ago
theraven
2e73765ffa
Added some experimental stuff.
14 years ago