Page MenuHomeFreeBSD

rtld: Add ${TOKEN} aliases to $TOKEN
ClosedPublic

Authored by kib on Feb 11 2022, 1:56 PM.
Tags
None
Referenced Files
F162257806: D34247.diff
Sat, Jul 11, 10:24 AM
Unknown Object (File)
Fri, Jun 12, 2:00 AM
Unknown Object (File)
Jun 9 2026, 11:24 AM
Unknown Object (File)
Jun 7 2026, 11:59 AM
Unknown Object (File)
May 21 2026, 4:31 AM
Unknown Object (File)
May 20 2026, 8:49 AM
Unknown Object (File)
May 20 2026, 8:03 AM
Unknown Object (File)
May 19 2026, 10:43 PM
Subscribers

Details

Summary
it seems that glibc supports them, and such spelling is mentioned in the
ld.bfd manual. Idea seems to auto-correct some errors on linker command
line.
rtld: make token substitution table-driven

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Feb 11 2022, 1:56 PM
This revision is now accepted and ready to land.Feb 11 2022, 2:40 PM
markj added inline comments.
libexec/rtld-elf/rtld.c
1181

Can be const char *subst.