mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Make NetBSD use the same xptcall support as others.
These functions are only ELF ABI specific, not really OS specific. Add powerpc, powerpc64 and sparc64 support for NetBSD by using the same code as other ELF systems do.
This commit is contained in:
parent
efad094b02
commit
37f260bbd4
1 changed files with 3 additions and 3 deletions
|
|
@ -136,7 +136,7 @@ if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD', 'NetBSD', 'OpenBSD'):
|
|||
]
|
||||
|
||||
if CONFIG['OS_TEST'] == 'powerpc':
|
||||
if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD'):
|
||||
if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD', 'NetBSD'):
|
||||
SOURCES += [
|
||||
'xptcinvoke_asm_ppc_linux.S',
|
||||
'xptcinvoke_ppc_linux.cpp',
|
||||
|
|
@ -145,7 +145,7 @@ if CONFIG['OS_TEST'] == 'powerpc':
|
|||
]
|
||||
|
||||
if CONFIG['OS_TEST'] in ('powerpc64', 'powerpc64le'):
|
||||
if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD'):
|
||||
if CONFIG['OS_ARCH'] in ('Linux', 'FreeBSD', 'NetBSD'):
|
||||
SOURCES += [
|
||||
'xptcinvoke_asm_ppc64_linux.S',
|
||||
'xptcinvoke_ppc64_linux.cpp',
|
||||
|
|
@ -198,7 +198,7 @@ if CONFIG['OS_ARCH'] == 'OpenBSD' and CONFIG['OS_TEST'] == 'sparc':
|
|||
# files for 64-bit SPARC with no ill effects, so basically the entire mess that
|
||||
# was there before is no longer needed.
|
||||
|
||||
if CONFIG['OS_ARCH'] in ('OpenBSD', 'FreeBSD', 'SunOS', 'Linux') and CONFIG['OS_TEST'] == 'sparc64':
|
||||
if CONFIG['OS_ARCH'] in ('NetBSD', 'OpenBSD', 'FreeBSD', 'SunOS', 'Linux') and CONFIG['OS_TEST'] == 'sparc64':
|
||||
SOURCES += [
|
||||
'xptcinvoke_asm_sparc64_openbsd.s',
|
||||
'xptcinvoke_sparc64_openbsd.cpp',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue