Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2020 22:09:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246561] [PATCH] rtld-elf: dlinfo() returns wrong address in RTLD_DI_LINKMAP's l_addr  (breaking Wine, gdb, etc.)
Message-ID:  <bug-246561-227-HfzuBNKhyZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246561-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246561-227@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=3D246561

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

Author: kib
Date: Wed May 20 22:08:27 UTC 2020
New revision: 361303
URL: https://svnweb.freebsd.org/changeset/base/361303

Log:
  Change the samantic of struct link_map l_addr member.

  It previously returned the object map base address, while all other
  ELF operating systems return load offset, i.e. the difference between
  map base and the link base.

  Explain the meaning of the field in the man page.

  Stop filling the mips-only l_offs member, which is apparently unused.

  PR:   246561
  Requested by: Damjan Jovanovic <damjan.jov@gmail.com>
  Reviewed by:  emaste, jhb, cem (previous version)
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week
  Differential revision:        https://reviews.freebsd.org/D24918

Changes:
  head/lib/libc/gen/dlinfo.3
  head/libexec/rtld-elf/rtld.c
  head/sys/sys/link_elf.h

--=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-246561-227-HfzuBNKhyZ>