Re: mach-o: why is code placed towards the end of a page?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=xSTQpwRu/3WiyN+B+XJhAQVUovDnuz6farI/UcSSq78=; b=M7Vb/XNvcHC+stR9KUbKUNM/X73PC5eavCX2axOcVTHRZLUKcTEH7mL6L0xo5WU2eO p/Jbw+IbL3fQsiwwv/xTncerZcdVvGz4JC2js7hp4r1E8/kfCQn1B89vUqO/U4wil75w PgPevurHhkoDjWxTHZXqa31qyPLrD6jAaAHQQ= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=EmLR71p9H2VFLZOVRpinalyDr+92XhvgC6pjdH6hVxHMkBwPAy6UY3Jmk42dR3XwHe zvSS5Y8w6jQseDtiD/bHyFn5fAQq1hNseNrsmXjraWCziGWOFDHZjFAPkrT6LRQ2PzsR pIsMEknwbMweFRZQ0peOEt1xNybpDdfpFBPqM= On Jan 8, 2009, at 11:56 PM, Andrew Myrick wrote: Thanks, Joel --- http://twitter.com/wagerlabs _______________________________________________ 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... The headers are always placed at the beginning of the __TEXT segment, so the actual code will never be at the first byte of that segment, regardless of whether the text is placed at the end of the headers or the end of the page. I apologize, I meant at the beginning of a new page. I'm placing the code right after headers, aligned on a 16-byte boundary (just in case). Is this layout preventing you from doing something? No, I don't think so. I was just wondering if pushing text towards the end of the page was a must. I see that it's not. This email sent to site_archiver@lists.apple.com
participants (1)
-
Joel Reymont