Page MenuHomeFreeBSD

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

Authored by kib on Feb 11 2022, 1:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 31, 7:31 AM
Unknown Object (File)
Wed, Jan 7, 11:50 PM
Unknown Object (File)
Dec 26 2025, 1:26 AM
Unknown Object (File)
Dec 4 2025, 11:26 PM
Unknown Object (File)
Dec 2 2025, 2:23 AM
Unknown Object (File)
Dec 2 2025, 2:23 AM
Unknown Object (File)
Nov 27 2025, 7:16 AM
Unknown Object (File)
Nov 17 2025, 1:01 AM
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.