If you read the 2 "Add support for -Ttext-segment linker flag to set image base of a dll" threads on wine-patches/wine-devel from March 2013, you'll see prelink's functionality is fully achievable without the use of prelink, just by using newer versions of ld and its -Ttext-segment option. Read those threads carefully though, as Alexandre found issues and wanted it implemented a certain way.
On Mon, Aug 10, 2015 at 5:30 PM, Michael Cronenworth mike@cchtml.com wrote:
On 08/07/2015 04:38 PM, Michael Stefaniuc wrote:
as some fellow Wine developers misunderstood (on purpose;) what I wrote above here it is restated for more clarity:
Current Wine*needs* prelink for some applications. The functionality that Wine needs from prelink can be achieved differently. But somebody needs to code that first before the dependency on prelink can be removed. Patches are welcome </hint>
Thanks, Michael. I did take a look at the functionality that winegcc uses and it uses prelink's "--reloc-only" option. This option could be replicated in winegcc. If I can spare a few cycles I will generate some patches.