I noticed that there is very little reasonable data in the .comment
section of my output binaries on snv_134. This probably has been around
for a while but I just felt like asking finally.

Have a look at this :

$ uname -a
SunOS aequitas 5.11 snv_134 i86pc i386 i86pc
$
$ grep "^#pragma ident" /usr/include/sys/va_list.h
#pragma ident   "%Z%%M% %I%     %E% SMI"

Thus I get very little out of mcs for this :

$ file libiconv.so.2.5.0
libiconv.so.2.5.0: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically
linked, not stripped

$ mcs -p libiconv.so.2.5.0 | sort -u

%Z%%M%  %I%     %E% SMI
acomp: Sun C 5.10 SunOS_i386 Patch 142363-03 2009/12/03
as: Sun Compiler Common 12.1 SunOS_i386 Patch 141858-04 2009/12/08
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1689
libiconv.so.2.5.0:

What I *expect* to see is something like this :

$ file libiconv.so.2.5.0
libiconv.so.2.5.0: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
$ mcs -p libiconv.so.2.5.0 | sort -u

@(#)ctype.h     1.33    99/08/10 SMI
@(#)ctype_iso.h 1.1     99/08/09 SMI
@(#)errno.h     1.16    99/07/26 SMI
@(#)errno.h     1.20    00/02/14 SMI
@(#)feature_tests.h     1.18    99/07/26 SMI
@(#)isa_defs.h  1.20    99/05/04 SMI
@(#)langinfo.h  1.10    94/11/21 SMI
@(#)nl_types.h  1.14    00/11/20 SMI
@(#)stddef.h    1.16    99/08/10 SMI
@(#)stddef_iso.h        1.1     99/08/09 SMI
@(#)stdio.h     1.78    99/12/08 SMI
@(#)stdio_impl.h        1.8     99/06/10 SMI
@(#)stdio_iso.h 1.2     99/10/25 SMI
@(#)stdio_tag.h 1.3     98/04/20 SMI
@(#)stdlib.h    1.47    99/11/03 SMI
@(#)stdlib_iso.h        1.3     02/10/10 SMI
@(#)string.h    1.24    99/08/10 SMI
@(#)string_iso.h        1.2     99/11/09 SMI
@(#)time_iso.h  1.1     99/08/09 SMI
@(#)va_list.h   1.12    99/05/04 SMI
@(#)wchar.h     1.34    04/08/10 SMI
@(#)wchar_impl.h        1.3     99/07/26 SMI
@(#)wchar_iso.h 1.2     99/11/10 SMI
acomp: Sun C 5.8 Patch 121015-07 2009/04/22
ld: Software Generation Utilities - Solaris Link Editors: 5.8-1.302
libiconv.so.2.5.0:
$

Simply speaking as a developer/application porter that uses Studio I
wonder if there will be data in those "pragma ident" sections at some
point?

-- 
Dennis Clarke
dcla...@opensolaris.ca  <- Email related to the open source Solaris
dcla...@blastwave.org   <- Email related to open source for Solaris


_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to