Archive file in linker script input section ignored

Simon Richter Simon.Richter@hogyros.de
Mon May 18 09:50:03 GMT 2020


Hi Tobias,

On 17.05.20 23:23, Tobias Schramm wrote:

> However, when trying to include a section from a file within an archive the
> inclusion is ignored. It works flawlessly using the same file outside of the
> archive.

Archive members are used only if they define a currently undefined
symbol, so if there is another object that references "data" and that
has been added to the link before the archive, it is included.

   Simon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20200518/b6c0829a/attachment-0001.sig>


More information about the Binutils mailing list