[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg with triggers support (again)



On Sat March 15 2008 08:05:19 Vincent Bernat wrote:
> OoO Pendant le journal télévisé du  jeudi 13 mars 2008, vers 20:00, Russ
>
> Allbery <rra@debian.org> disait:
> > (I *have* heard of architectures in common use where a pointer to data
> > is  a  different size  than  a pointer  to  a  function, but  function
> > pointers are very rarely passed to variadic functions.)
>
> Which architectures are like this?

Many 16-bit architectures have variants where data and code models
within each program are individually selected to be 16-bit or 
more-than-16-bit.  Usually 16-bit programs are called "small", and
more-than-16-bit programs are called "large".  Programs where data
and code pointers have different sizes are typically called "compact"
and "medium".

Most 8086 compilers also supported a "huge" mode which was larger and
slower than "large" although I forget the details.  IIRC, the Mark
Williams compiler for the 8086 also supported a "tiny" mode which code
and data in the same 16-bit segment.

Beware that these names have radically different meanings on some
architectures[0].

--Mike Bird

[0] http://www.esacademy.com/automation/docs/c51primer/c02.htm#2.1.2


Reply to: