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
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.

(shrugs)

On Fri, Oct 23, 2009 at 10:21 AM, McKown, John
<[email protected]> wrote:
> Interesting article, to me. Might be nice to have a single executable that 
> runs on Intel/32 Intel/64, z/31, z/64, and p. Apparently the "data only" 
> portion would not be duplicated, only the executable code portion. Not likely 
> to happen, but interesting (again, at least to me).
>
> http://www.phoronix.com/scan.php?page=news_item&px=NzYyNQ
>
> http://icculus.org/fatelf/
>
>
>
> John McKown
> Systems Engineer IV
> IT
>
> Administrative Services Group
>
> HealthMarkets(r)
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone * (817)-961-6183 cell
> [email protected] * www.HealthMarkets.com
>
> Confidentiality Notice: This e-mail message may contain confidential or 
> proprietary information. If you are not the intended recipient, please 
> contact the sender by reply e-mail and destroy all copies of the original 
> message. HealthMarkets(r) is the brand name for products underwritten and 
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake 
> Life Insurance Company(r), Mid-West National Life Insurance Company of 
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
>
>
> ----------------------------------------------------------------------
> 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
>



-- 
John R. Campbell         Speaker to Machines          souperb at gmail dot com
MacOS X proved it was easier to make Unix user-friendly than to fix Windows

----------------------------------------------------------------------
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