Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   kamil
Date:           Mon Sep 21 16:08:57 UTC 2020

Modified Files:
        src/include: link_elf.h
        src/libexec/ld.elf_so: load.c rtld.c rtld.h

Log Message:
Upgrade the SVR4 RTLD r_debug protocol to version 1

Changes:
 - Add a new field r_ldbase in the r_debug struct.
 - Set r_version to 1.

This harmonizes the support with OpenBSD and Linux.
FreeBSD uses version 0 (or no version).
Solaris uses version 2 that is not implemented elsewhere and relies on
SVR4 specific design and interfaces.

Update the code comments as r_debug and link_map is used by other software
than GDB, namely: sanitizers, rump, LLDB.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/include/link_elf.h
cvs rdiff -u -r1.48 -r1.49 src/libexec/ld.elf_so/load.c
cvs rdiff -u -r1.205 -r1.206 src/libexec/ld.elf_so/rtld.c
cvs rdiff -u -r1.140 -r1.141 src/libexec/ld.elf_so/rtld.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index