Archive file in linker script input section ignored
Tobias Schramm
t.schramm@manjaro.org
Thu May 21 22:14:00 GMT 2020
Hi Nick,
thanks for your response.
>> # ld -T test_object.ld -o test_object.out
>
> This link will not produce the output you have described below since no object
> files are actually present.
I've just verified again that this link does actually produce the output
I described. Are you really sure it can't work?
I've also used this method in the past to include binary data in special
sections, that is why I'm so confused over the current result.
Admittedly I've previously always guarded such includes with a KEEP(...)
but that did not seem to make a difference in this minimal reproducer.
Best regards,
Tobias Schramm
More information about the Binutils
mailing list