Re: x86-64 medium memory model

2012-12-12 Thread Leif Ekblad
ches" ; "GCC Mailing List" Sent: Wednesday, December 12, 2012 9:59 PM Subject: Re: x86-64 medium memory model On Wed, Dec 12, 2012 at 12:56 PM, Leif Ekblad wrote: I'm working on OS-adaptations for an OS that would use x86-64 applications that are located above 4G, but not i

Re: x86-64 medium memory model

2012-12-12 Thread H.J. Lu
On Wed, Dec 12, 2012 at 12:56 PM, Leif Ekblad wrote: > I'm working on OS-adaptations for an OS that would use x86-64 applications > that are located above 4G, but not in the upper area. Binutils provide a > function to be able to set the start of text to above 4G, but there are > problems with GCC

x86-64 medium memory model

2012-12-12 Thread Leif Ekblad
I'm working on OS-adaptations for an OS that would use x86-64 applications that are located above 4G, but not in the upper area. Binutils provide a function to be able to set the start of text to above 4G, but there are problems with GCC when using this memory model. The first issue has to do