Page MenuHomeFreeBSD

rtld: get syscall implementations from libsys
ClosedPublic

Authored by brooks on May 22 2025, 7:04 PM.
Tags
None
Referenced Files
F167755380: D50475.id.diff
Mon, Aug 24, 7:49 AM
F167723495: D50475.id155890.diff
Mon, Aug 24, 12:58 AM
F167711522: D50475.diff
Sun, Aug 23, 10:14 PM
Unknown Object (File)
Fri, Aug 21, 7:44 PM
Unknown Object (File)
Wed, Aug 19, 1:22 AM
Unknown Object (File)
Tue, Aug 18, 8:34 PM
Unknown Object (File)
Tue, Aug 18, 5:46 AM
Unknown Object (File)
Mon, Aug 17, 2:04 AM
Subscribers

Details

Summary

When I added libsys I failed to switch rtld's reuse of object files
from libc to to use ones from libsys instead. This would have turned up
as a broken system in d7847a8d35143, but SHARED_CFLAGS is not being
applied to assembly files.

PR: 286975

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 64365
Build 61249: arc lint + arc unit

Event Timeline

libexec/rtld-elf/rtld-libc/Makefile.inc
95

Duplicated by the later line

99
101

This is never empty? (And were it to be, rtld_libc.a probably shouldn't depend on LIBC_NOSSP_PIC unconditionally)

brooks added inline comments.
libexec/rtld-elf/rtld-libc/Makefile.inc
101

Oops, that's a leftover from my initial (broken) implementation where some archs didn't have any libc entries.

This revision is now accepted and ready to land.May 22 2025, 9:22 PM
This revision was automatically updated to reflect the committed changes.
brooks marked an inline comment as done.