Bug 13863 - Allow alternative linker via LD_ALTEXEC environment variable
Summary: Allow alternative linker via LD_ALTEXEC environment variable
Status: RESOLVED NOTABUG
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-17 16:21 UTC by Igor Pashev
Modified: 2022-08-24 04:22 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
LD_ALTEXEC implementation (965 bytes, patch)
2012-03-17 16:21 UTC, Igor Pashev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Pashev 2012-03-17 16:21:10 UTC
Created attachment 6291 [details]
LD_ALTEXEC implementation

Solaris linker (ld [1]) has an ability to run an arbitrary program specified via LD_ALTEXEC environment variable. I have created a patch to add similar functionality to GNU ld.

[1] http://www.opensolarisforum.org/man/man1/ld.html#4
Comment 1 Alan Modra 2022-08-24 04:22:55 UTC
This can be implemeted easily with a shell script.