public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* far (48bit) pointer addressing
@ 2008-05-13  8:55 Hoffmann, Christian
  2008-05-13 13:53 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Hoffmann, Christian @ 2008-05-13  8:55 UTC (permalink / raw)
  To: gcc-help

Hi gcc team,
 
does gcc (for i386 targets) support "far pointer addressing" ?
or is it planned to be added ?
Currently i only found this in the openWatcom compiler.
What i'm thinking of is for example a keyword "far" which makes the declared
object be accessed using an IA32 48 bit far pointer consisting of 16 bit selector
and 32 bit offset. I know that one has to prepare an appropriate descriptor in the
GDT or LDT to make this addressing work.
thanks a lot for your answer.
 

Mit freundlichen Grüßen/ kind regards 

Christian Hoffmann

Siemens Enterprise Communications GmbH & Co. KG 
Small Medium Enterprice Software Development Platform 

SEN ESY SME MP532
Brauckstr.14
D-58449 Witten
Phone: +49 2302 667 2821 
Fax: +49 2302 667 2121


Siemens Enterprise Communications GmbH & Co. KG
Managing Directors: Andreas Bernhardt, Reinhard Benditte,
Gerhard Otterbach, Thomas Zimmermann
Registered offices: Munich
Commercial registry Munich, HRA 88546
WEEE-Reg.-No. DE 27980375
General Partner:
Siemens Enterprise Communications Management GmbH
Registered offices: Munich
Commercial registry: Munich, HRB 163415 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: far (48bit) pointer addressing
  2008-05-13  8:55 far (48bit) pointer addressing Hoffmann, Christian
@ 2008-05-13 13:53 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2008-05-13 13:53 UTC (permalink / raw)
  To: Hoffmann, Christian; +Cc: gcc-help

"Hoffmann, Christian" <Christian-Hoffmann@siemens.com> writes:

> does gcc (for i386 targets) support "far pointer addressing" ?

No.

> or is it planned to be added ?

No.

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-13 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-13  8:55 far (48bit) pointer addressing Hoffmann, Christian
2008-05-13 13:53 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).