Patch-ID# 105490-04
Keywords: dlerror linker audit libdl mcs read-only
Synopsis: SunOS 5.6: linker patch
Date: May/05/98

Solaris Release: 2.6

SunOS Release: 5.6

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 105491

Topic: SunOS 5.6: linker patch

BugId's fixed with this patch: 1182346 4008477 4044285 4050759 4058928 4062757 4064724 4066815 4067926 4068108 4074398 4075643 4079003 4079633 4081897 4084466 4085036 4085734 4088306 4092335 4092511 4093064 4095156 4095586 4096079 4096995 4097806 4099127 4099713 4100002 4102130 4102797 4104963 4107525 4108699 4108808 4112585 4126405

Changes incorporated in this version: 4112585 4126405

Relevant Architectures: sparc

Patches accumulated and obsoleted by this patch:  

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch:

/etc/lib/ld.so.1
/etc/lib/libdl.so.1
/usr/bin/ldd
/usr/bin/pvs
/usr/bin/sotruss
/usr/bin/whocalls
/usr/ccs/bin/ar
/usr/ccs/bin/dump
/usr/ccs/bin/elfdump
/usr/ccs/bin/gprof
/usr/ccs/bin/ld
/usr/ccs/bin/mcs
/usr/ccs/bin/nm
/usr/ccs/bin/strip
/usr/ccs/lib/ldprof.so.1
/usr/ccs/lib/libld.so.2
/usr/ccs/lib/liblddbg.so.4
/usr/ccs/lib/link_audit/truss.so.1
/usr/ccs/lib/link_audit/who.so.1
/usr/demo/link_audit/00README
/usr/demo/link_audit/Makefile
/usr/demo/link_audit/man/dumpbind.man
/usr/demo/link_audit/man/perfcnt.man
/usr/demo/link_audit/man/sotruss.man
/usr/demo/link_audit/man/symbindrep.man
/usr/demo/link_audit/man/whocalls.man
/usr/demo/link_audit/src/bindings.c
/usr/demo/link_audit/src/bindings.h
/usr/demo/link_audit/src/dumpbind.c
/usr/demo/link_audit/src/env.c
/usr/demo/link_audit/src/env.h
/usr/demo/link_audit/src/hash.c
/usr/demo/link_audit/src/hash.h
/usr/demo/link_audit/src/mach.h
/usr/demo/link_audit/src/perfcnt.c
/usr/demo/link_audit/src/perfcnt.ksh
/usr/demo/link_audit/src/sotruss.ksh
/usr/demo/link_audit/src/symbindrep.c
/usr/demo/link_audit/src/symbindrep.ksh
/usr/demo/link_audit/src/truss.c
/usr/demo/link_audit/src/who.c
/usr/demo/link_audit/src/who.h
/usr/demo/link_audit/src/whocalls.ksh
/usr/include/dlfcn.h
/usr/include/gelf.h
/usr/include/libelf.h
/usr/include/link.h
/usr/include/proc_service.h
/usr/include/rtld_db.h
/usr/include/sys/elf.h
/usr/include/sys/elf_386.h
/usr/include/sys/elf_SPARC.h
/usr/include/sys/elftypes.h
/usr/include/sys/link.h
/usr/include/sys/machelf.h
/usr/lib/0@0.so.1
/usr/lib/ld.so
/usr/lib/ld.so.1
/usr/lib/libdl.so.1
/usr/lib/libelf.a
/usr/lib/libelf.so.1
/usr/lib/libldstab.so.1
/usr/lib/librtld.so.1
/usr/lib/librtld_db.so.1
/usr/lib/llib-lelf.ln
/usr/xpg4/bin/ar
/usr/xpg4/bin/nm

Problem Description:

4112585 mcs -p fails on read-only binaries
4126405 compiling MSTC* test suites abort; Elf64_Half is not defined

(from 105490-03)

	This revision fixes a packaging issue with the previous rev
	where the header file /usr/include/sys/elftypes.h was
        omitted from the patch package.  No other bug fixes are
	being delivered.

(from 105490-02)

1182346 utilities need to use cplus_demangle from latest version of libC.so
4008477 change where executable finds its libraries without re-linking
4044285 combining relocation sections yields performance gain
4050759 /usr/ccs/bin/dump -sv or -r hit SIGBUS on -dn stripped binaries
4058928 segment reservations made too soon
4064724 linking against EM_SPARC32PLUS dynamic library results in a EM_SPARC32PLUS obj
4066815 GOT table on x86 has empty fields
4067926 strip breaks hard links
4068108 dlerror() messages printed to stderr durring link-auditing
4074398 2.4 app takes up 8X more space under 2.5.1
4075643 -zallextract can corrupt relocation section placement
4079003 multiplication fails intermittently with libthread linked against program
4079633 typo in new "gelf.h" wyoming header file
4081897 stripping shared object makes an illegal binary that crashes ld
4084466 elf32_newehdr() hangs in programs linked with libthread.
4085036 need lazy loading with Solaris
4085734 ld: V9 default load address is different to V8
4088306 introduce new section SHT_COMDAT
4092335 chkmesg not able to find xlate.c durring build of libelf
4092511 object size silently truncated to 32 bits
4093064 elfdump coredumps inside of syminfo processing
4095156 64-bit link auditing
4095586 need LD_PROFILE for 64-bit libraries
4096079 ABI requires HIX22 and LOX10 reloc types (Hal additions)
4096995 gelf needs to be made MT-safe
4097806 runtime linker references a unmapped address causing libthread panic
4099127 dlopen failure in link auditing context can be hazardous to your health
4099713 stripping and scoping create invalid init/fini dynamic tags.
4100002 /usr/ccs/bin/dump gives different results on 2.7 compared with 2.6
4102130 linker needs dependency search continuation
4102797 elftypes.h uses new 2.7 inttypes data structures
4104963 either EM_NUM or EM_SPARCV9 needs to change
4107525 locking in eprint() is incorrect; causes hangs on MT applications on 2.6
4108699 lazy loading can cause .init sections to fire off to soon.
4108808 text segment re-mapped read-write when not required

(from 105490-01)

4068108 dlerror() messages printed to stderr durring link-auditing
4062757 link auditing breaks apps using libdl

Patch Installation Instructions: 
-------------------------------- 
Refer to the Install.info file within the patch for instructions on
using the generic 'installpatch' and 'backoutpatch' scripts provided
with each patch.  Any other special or non-generic installation
instructions should be described below.

Special Install Instructions: 
----------------------------- 
None.
