[Lldb-commits] [PATCH] D92187: [lldb] [FreeBSD] Fix establishing DT_NEEDED libraries from dyld

Kamil Rytarowski via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 1 03:27:56 PST 2020


krytarowski added a comment.

In D92187#2424109 <https://reviews.llvm.org/D92187#2424109>, @emaste wrote:

>> One thing that FreeBSD should do, is to upgrade to the protocol version 1 (stored in r_version), like Linux, NetBSD and OpenBSD.
>
> It looks like Linux has always used r_version=1 (since 1995).
>
> AFAICT we can just add r_ldbase and set version to 1.
> See https://reviews.freebsd.org/D27429

I propose to add `#define R_DEBUG_VERSION 1` too, to keep compat with NetBSD (and SunOS?).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92187/new/

https://reviews.llvm.org/D92187



More information about the lldb-commits mailing list