Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Sep 2020 22:42:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 249121] program compiled with -pg produces ld-elf abort
Message-ID:  <bug-249121-29464-wHZPKzcyxP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249121-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249121-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249121

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit references this bug:

Author: kib
Date: Sat Sep  5 22:41:31 UTC 2020
New revision: 365368
URL: https://svnweb.freebsd.org/changeset/base/365368

Log:
  rtld: do not process absent dynamic.

  If object has no dynamic phdr, do not try to dereference NULL.  This
  means that we cannot process any relocation, and that there cannot be
  symbols defined, but it is up to static linker to produce meaningful
  objects.

  PR:   249121
  Reported by:  wsh@riski.sh
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week

Changes:
  head/libexec/rtld-elf/rtld.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249121-29464-wHZPKzcyxP>