News for hackers. Stuff that matters.
Re:Mach-O Binaries (2015) by shrubble on Monday August 07, 2023 @07:03PM (#37042141)
Surprised that there was not a mention of the multi-architecture fat binaries; on NEXTSTEP you could have quad-Fat binaries that had in a single binary, code for SPARC, Motorola 68K, HP PA-RISC and x86.

I suppose the mentioned structures were used to hold the different bits of code, while sharing e.g. text strings that were loaded in .text or whatnot.

Re:Mach-O Binaries (2015) by woodruffw on Monday August 07, 2023 @07:30PM (#37042363)
> I suppose the mentioned structures were used to hold the different bits of code, while sharing e.g. text strings that were loaded in .text or whatnot.

I don't believe so: universal ("fat") binaries are basically a container type, with N fully independent contained Mach-O slices. It isn't even compressed; each architecture's binary is just mashed into the file, one after another.