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)
Fri, Jun 12, 2:00 AM
Unknown Object (File)
Tue, Jun 9, 11:24 AM
Unknown Object (File)
Sun, Jun 7, 11:59 AM
Unknown Object (File)
Thu, May 21, 4:31 AM
Unknown Object (File)
Wed, May 20, 8:49 AM
Unknown Object (File)
Wed, May 20, 8:03 AM
Unknown Object (File)
Tue, May 19, 10:43 PM
Unknown Object (File)
May 17 2026, 6:39 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.