You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Limit macOS $INODE64 symbol names to x86 and x86_64
The new ARM-based platform doesn't need these as there's no legacy
constraints.
Tested via
**demo.c**
```c
int main() {
fstat(0, NULL);
fstatat(0, NULL, NULL, 0);
lstat(NULL, NULL);
stat(NULL, NULL);
readdir(NULL);
readdir_r(NULL, NULL, NULL);
}
```
**Compilation**
```none
% SDKROOT=/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk MACOSX_DEPLOYMENT_TARGET=11.5 cc -arch arm64 demo.c
% nm a.out
0000000100008030 d __dyld_private
0000000100000000 T __mh_execute_header
U _fstat
U _fstatat
U _lstat
0000000100003e64 T _main
U _readdir
U _readdir_r
U _stat
U dyld_stub_binder
```
This has also been experimentally compiled on a Developer Transition Kit.
0 commit comments