git: libc_rtld: Tailor the source and don't share libc/Makefile.inc

Aaron LI aly at crater.dragonflybsd.org
Thu Sep 17 06:25:12 PDT 2026


commit 997171d0f74c4067312c21c2f132ca277a1fabda
Author: LI Leding <lileding at gmail.com>
Date:   Thu Sep 17 14:23:43 2026 +0800

    libc_rtld: Tailor the source and don't share libc/Makefile.inc
    
    Explicitly list the sources from libc that are required by
    libexec/rtld-elf, so it no longer uses libc/Makefile.inc that may
    include unnecessary sources, especially the threading code that must be
    disabled for rtld-elf.
    
    This helps the forthcoming commit that merges libthread_xu into libc.
    
    GitHub-PR: https://github.com/DragonFlyBSD/DragonFlyBSD/pull/52

Summary of changes:
 lib/libc/Makefile.inc                              |  13 ---
 lib/libc_rtld/Makefile                             |  80 ++++++++++-----
 sys/net/toeplitz.h => lib/libc_rtld/libc_private.h |  22 ++---
 usr.bin/vknet/vknet.h => lib/libc_rtld/rtld_libc.c | 110 ++++++++++++---------
 4 files changed, 128 insertions(+), 97 deletions(-)
 copy sys/net/toeplitz.h => lib/libc_rtld/libc_private.h (79%)
 copy usr.bin/vknet/vknet.h => lib/libc_rtld/rtld_libc.c (59%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/997171d0f74c4067312c21c2f132ca277a1fabda


-- 
DragonFly BSD source repository


More information about the Commits mailing list