John Campbell wrote:
Data Segment being the same?  No, I don't see it happening *that*
well.  The BSS segment, no problem, but static data?

Anyone remember the nUxi problem?

Yes, I am referring to "byte sex" or "endianness".

Intel is small endian and pSeries/zSeries is large endian.  This

As I recall, the CPU can be either - when running OS/2 it was little-endian.

affects how data is laid down in the static data segment unless
there's an extra layer making memory access non-native.  (I once did
internals development/maintenance on Thoroughbred Business BASIC so I
know, when it comes to byte sex, whereof I speak.)

I *think* the "Universal" binaries for Mac OS X between the PowerPC
and x86 architectures have two copies of the code and something
special to re-map data, or, possibly, there's some concepts, like
ANDF, snarfed from OSF/1's model, where the loader does something
funky to the code on the way into RAM...  or, possibly, there's some
kind of translation that happens during final loading.


Apart from endian differences, I wonder about word size.

Are we all agreed on floating point these days?




--

Cheers
John

-- spambait
[email protected]  [email protected]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to