-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
std.Target
: Assorted corrections, plus cleanup around ELF/COFF machine types
#21020
Commits on Aug 15, 2024
-
std.Target: Make some functions handle driverkit alongside other Appl…
…e OSs. Reference for versions: https://developer.apple.com/support/xcode
Configuration menu - View commit details
-
Copy full SHA for 0def4e0 - Browse repository at this point
Copy the full SHA 0def4e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc93ab7 - Browse repository at this point
Copy the full SHA fc93ab7View commit details -
std.Target: Change requiresLibC() to return true for aix.
AIX does not have a stable syscall interface; libc is required.
Configuration menu - View commit details
-
Copy full SHA for 1e67221 - Browse repository at this point
Copy the full SHA 1e67221View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9246c88 - Browse repository at this point
Copy the full SHA 9246c88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c27cab - Browse repository at this point
Copy the full SHA 6c27cabView commit details -
std.Target: Fix Arch.toElfMachine() for mips.
EM_MIPS_RS3_LE is obsolete; all mips targets just use EM_MIPS. Also, fun fact: EM_MIPS_RS3_LE is actually big endian!
Configuration menu - View commit details
-
Copy full SHA for 490b328 - Browse repository at this point
Copy the full SHA 490b328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8516a6a - Browse repository at this point
Copy the full SHA 8516a6aView commit details -
std.Target: Don't match big endian architectures in Arch.toCoffMachin…
…e(). All of these were mapping to types that are little endian. In fact, I can find no evidence that either Windows or UEFI have ever been used on big endian systems.
Configuration menu - View commit details
-
Copy full SHA for b24fc35 - Browse repository at this point
Copy the full SHA b24fc35View commit details -
std.Target: Don't match PowerPC in Arch.toCoffMachine().
It's entirely unclear whether this should map to POWERPC or POWERPCFP, and as I can find no evidence of people producing PE files for PowerPC since Windows NT, let's just not make a likely-wrong guess. We can revisit this if the need ever actually arises.
Configuration menu - View commit details
-
Copy full SHA for 65affb1 - Browse repository at this point
Copy the full SHA 65affb1View commit details -
std.coff: Remove MachineType.fromTargetCpuArch().
This does the same thing as std.Target.Cpu.Arch.toCoffMachine(). Just use that.
Configuration menu - View commit details
-
Copy full SHA for ac9ca7d - Browse repository at this point
Copy the full SHA ac9ca7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b01c595 - Browse repository at this point
Copy the full SHA b01c595View commit details -
std.Target: Pull toCoffMachine()/toElfMachine() up from Arch to Target.
This enables them to give more correct results. Contributes to ziglang#20771.
Configuration menu - View commit details
-
Copy full SHA for 5504386 - Browse repository at this point
Copy the full SHA 5504386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b5c992 - Browse repository at this point
Copy the full SHA 9b5c992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db9ad7 - Browse repository at this point
Copy the full SHA 6db9ad7View commit details