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, Oct 21, 2:42 PM
Unknown Object (File)
Oct 18 2024, 12:10 AM
Unknown Object (File)
Oct 4 2024, 11:47 PM
Unknown Object (File)
Oct 2 2024, 7:49 PM
Unknown Object (File)
Oct 1 2024, 3:30 PM
Unknown Object (File)
Oct 1 2024, 1:26 PM
Unknown Object (File)
Sep 24 2024, 5:33 AM
Unknown Object (File)
Sep 16 2024, 6:28 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 Skipped
Unit
Tests Skipped

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.