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)
Mon, Nov 17, 1:01 AM
Unknown Object (File)
Mon, Nov 17, 1:01 AM
Unknown Object (File)
Fri, Nov 7, 1:33 PM
Unknown Object (File)
Thu, Nov 6, 2:16 PM
Unknown Object (File)
Wed, Oct 29, 12:17 PM
Unknown Object (File)
Wed, Oct 29, 12:01 PM
Unknown Object (File)
Wed, Oct 29, 11:59 AM
Unknown Object (File)
Wed, Oct 29, 9:41 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.