Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerPC {32, 64}-bit Block Trampolines #272

Merged
merged 41 commits into from
Feb 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
3664b7d
Implement PowerPC block trampoline
hmelder Jan 20, 2024
ea9b9f4
Adjust indentation
hmelder Jan 20, 2024
22e737c
PowerPC64 Linux has a different pagesize by default
hmelder Jan 20, 2024
8379d09
Temporary page size workaround
hmelder Jan 20, 2024
c4d6a5d
Fix lwz offset in PowerPC block trampoline
hmelder Jan 20, 2024
2db13a5
Adjust LOAD instruction PowerPC 32-bit to lwz
hmelder Jan 20, 2024
444c54e
Adjust pagesize on ppc64
hmelder Jan 20, 2024
0958563
Skip UnexpectedException test for PowerPC
hmelder Jan 20, 2024
ac06f53
Move PAGE_SIZE to asmconstants.h
hmelder Jan 21, 2024
c3cc4e9
Use PAGE_SIZE and PAGE_SHIFT macros for PowerPC
hmelder Jan 21, 2024
e088997
Add trailing newline to asmconstants.h
hmelder Jan 21, 2024
bf7ed5b
Add ppc64el and powerpc qemu-crossbuild targets
hmelder Jan 21, 2024
6ab3c5c
Use correct linker
hmelder Jan 21, 2024
9c4872f
Restrict LD_LIBRARY_PATH and link with atomic
hmelder Jan 21, 2024
53b418e
Remove powerpc arch
hmelder Jan 21, 2024
39a3776
Link with libatomic on PowerPC
hmelder Jan 21, 2024
1f925a5
Add powerpc and powerpc64 to detect_arch.c
hmelder Jan 21, 2024
c26e311
Update asmconstants.h
hmelder Jan 22, 2024
7317013
Implement PowerPC block trampoline
hmelder Jan 20, 2024
7ef1349
Adjust indentation
hmelder Jan 20, 2024
b16cbb5
PowerPC64 Linux has a different pagesize by default
hmelder Jan 20, 2024
a9e7fb6
Temporary page size workaround
hmelder Jan 20, 2024
ff25ce2
Fix lwz offset in PowerPC block trampoline
hmelder Jan 20, 2024
af49d8a
Adjust LOAD instruction PowerPC 32-bit to lwz
hmelder Jan 20, 2024
43477c6
Adjust pagesize on ppc64
hmelder Jan 20, 2024
6358f57
Skip UnexpectedException test for PowerPC
hmelder Jan 20, 2024
15c25d9
Move PAGE_SIZE to asmconstants.h
hmelder Jan 21, 2024
eb7e688
Use PAGE_SIZE and PAGE_SHIFT macros for PowerPC
hmelder Jan 21, 2024
b432464
Add trailing newline to asmconstants.h
hmelder Jan 21, 2024
c47bf6a
Add ppc64el and powerpc qemu-crossbuild targets
hmelder Jan 21, 2024
1496103
Use correct linker
hmelder Jan 21, 2024
68334c9
Restrict LD_LIBRARY_PATH and link with atomic
hmelder Jan 21, 2024
bb46b6c
Remove powerpc arch
hmelder Jan 21, 2024
4124c3b
Link with libatomic on PowerPC
hmelder Jan 21, 2024
da39edb
Add powerpc and powerpc64 to detect_arch.c
hmelder Jan 21, 2024
ef781fd
Update asmconstants.h
hmelder Jan 22, 2024
62b6676
Merge branch 'ppc-block-trampoline' of ssh://github.com/gnustep/libob…
hmelder Feb 12, 2024
0815f3d
Add NO_SAFE_CACHING definition and guards
hmelder Feb 12, 2024
0750a99
Do not export objc_method_cache_version on ppc32
hmelder Feb 12, 2024
c7eb3c0
Check if version ptr is valid before writing to it
hmelder Feb 12, 2024
62fe4b7
Merge branch 'master' into ppc-block-trampoline
hmelder Feb 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Skip UnexpectedException test for PowerPC
hmelder committed Jan 20, 2024
commit 0958563f3abe9909f6418eb4e1dc9d16542395eb
2 changes: 1 addition & 1 deletion Test/UnexpectedException.m
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ LONG WINAPI _UnhandledExceptionFilter(struct _EXCEPTION_POINTERS* exceptionInfo)

int main(void)
{
#if !(defined(__arm__) || defined(__ARM_ARCH_ISA_A64))
#if !(defined(__arm__) || defined(__ARM_ARCH_ISA_A64)) && !defined(__powerpc__)
#if defined(_WIN32) && !defined(__MINGW32__)
// also verify that an existing handler still gets called after we set ours
SetUnhandledExceptionFilter(&_UnhandledExceptionFilter);