lunixbochs / lib43

portable libc optimized for code size and readability
MIT License
80 stars 6 forks source link

Fix 32-bit syscalls on OSX #2

Closed tmcarthur closed 9 years ago

tmcarthur commented 9 years ago

32-bit OS X doesn't use the "class" notion so doesn't require the offset. Also now that it looks like restructuring is done, I'm probably going to start looking into ARM if you don't have any concerns.

Thanks!

lunixbochs commented 9 years ago

Are you sure the syscall interface is even being used on OS X? Everything still works if I remove arch/ and src/syscall.c.

lunixbochs commented 9 years ago

0ef217726e5a7026dab59ddcea9f5d1221c9c8aa (which no longer has OS X syscall handling) still works if you rm -rf arch/ src/syscall.c. I think OS X isn't giving us precedence.

tmcarthur commented 9 years ago

Odd, and you're right - probably something in system dylib - I'll play with it some more.