I noticed a different address space layout for an app (i.e. vi) on different platforms (see below). is ELF allowing for what I notice on T1000/T2000 platforms (.text segment "split") and 2 extra "anon" pages? may I know the rationale behind (i.e. is that machine-specific)? is there in OpenSolaris.com, same source code that I can walk to better understand?
Regards, ovi T1000/T2000 (sun4v) --------------------------------- 00010000 192K r-x-- /usr/bin/vi 00040000 8K r-x-- /usr/bin/vi 00052000 40K rwx-- /usr/bin/vi 0005C000 16K rwx-- [ anon ] 00060000 576K rwx-- [ heap ] FF1E0000 8K r-x-- /platform/sun4v/lib/libc_psr.so.1 FF1F0000 8K rw--- [ anon ] FF200000 832K r-x-- /lib/libc.so.1 FF2D0000 32K r-x-- /lib/libc.so.1 FF2E8000 32K rwx-- /lib/libc.so.1 FF2F0000 8K rwx-- /lib/libc.so.1 Non-Txxx system (sun4u) ------------------------------------- 00010000 200K r-x-- /usr/bin/vi 00052000 40K rwx-- /usr/bin/vi 0005C000 576K rwx-- [ heap ] FF1C0000 16K r-x-- /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.3 FF1D2000 16K rwx-- /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.3 FF1E8000 16K r-x-- /platform/sun4u/lib/libc_psr.so.1 FF1F0000 8K rw--- [ anon ] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/tools-linking/attachments/20061219/750a9284/attachment.html>