[Bug 249121] program compiled with -pg produces ld-elf abort

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 5 22:42:10 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249121

--- Comment #5 from commit-hook at 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 at riski.sh
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week

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

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


More information about the freebsd-toolchain mailing list