Subject: bin/16983: ld.elf_so is lame about how it handles program sections
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 05/22/2002 21:23:26
>Number:         16983
>Category:       bin
>Synopsis:       ld.elf_so is lame about how it handles program sections
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 22 21:24:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.5ZC
>Organization:
Wasabi Systems, Inc.
>Environment:
	
	
System: NetBSD yeah-baby.shagadelic.org 1.5ZC NetBSD 1.5ZC (YEAH-BABY-XP) #8: Sat May 4 15:32:58 PDT 2002 thorpej@yeah-baby.shagadelic.org:/u1/netbsd/src/sys/arch/i386/compile/YEAH-BABY-XP i386
Architecture: i386
Machine: i386
>Description:
	_rtld_digest_phdr() in headers.c asserts that there are exactly
	2 PT_LOAD sections in the shared object.  This is not always true.

>How-To-Repeat:
	Code inspection.  Or lose badly with a shared object with
	other than 2 PT_LOAD sections.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: