Differing pointer sizes (e.g near/far)
Grant Edwards
grante@visi.com
Mon Oct 20 09:33:00 GMT 2003
Hi,
I've been doing some preliminary reading while considering
doing a port of GCC to the M16C processor -- a 16-bit CISC
processor from Renesas (nee Mitsubishi).
To be most useful, a compiler for M16C would need to support
two different pointers sizes (24-bits for pointers to functions
and 16-bits for pointers to data).
It appears that GCC requires all pointers to be the same size.
Is that correct?
There's no way to have pointers to text be a different size
than pointers to stack/bss/data?
--
Grant Edwards
grante@visi.com
More information about the Gcc
mailing list