From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 15 May 2014 15:17:59 -0400 To: 9fans@9fans.net Message-ID: <54950f50a8235431a5c146c64e6688e9@mikro.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] linking a program to run at a high address Topicbox-Message-UUID: e672550c-ead8-11e9-9d60-3106f5b1d025 On Thu May 15 15:03:10 EDT 2014, rminnich@gmail.com wrote: > I've done this, and I've forgotten how. I need to tell 6l to link a > program to run at > > 0x00007f0000000000 > > I've tried various combos of -T, -R, and -D and am failing to get the > right result ... any hints to revive my poor memory would be welcome. if you're talking about amd64, i don't think you did. unless the high address was a sign-extended 32-bit value. it's a limitation of the architecture. i suppose you could if the program were RIP-relative, but 6l doesn't do that. - erik