mach-o __TEXT segment layed out backwards?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi All, I've been looking around mach-o executables and I noticed that the __TEXT segment seems to be layed out backwards, i.e. the last section ends at the end of the segment and the other sections go backwards from that. Can someone explain to me why this is? Also on a related note is it possible to relocate the __text section post link? Well obviously it can be moved, but all the data/function pointers will be screwed up so I guess the better question is after link and after relocation can the __text ptrs be fixed? --- Paul _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Haddad