Web lists-archives.com

Re: [Mingw-users] Can't do partial linking with libmoldname.a?




OK, Thank you, I would try to report this to binutils.

>> From: 张博洋 <zhangboyang.id@xxxxxxxxx>
>> Date: Sat, 26 Nov 2016 19:57:31 +0800
>>
>> 在 2016年11月26日 19:29, Eli Zaretskii 写道:
>>
>>> I don't really know, I never tried "ld -r".  I asked what would be the
>>> semantics of that, and I still don't know the answer to that.
>>
>> I think the semantics of "ld -r" is gluing input object files together,
>> output a single and big object file.
>>
>> The object files in an import library just like other object files, it
>> can has it's own .text segment (maybe .data as well), the difference is
>> that it have some import section.
>>
>> So "ld -r" an object and an import library can generate a single big
>> object, with .text segment gluing together, and preserving import data.
>
> Maybe it's worth reporting a bug to the Binutils developers.
>



------------------------------------------------------------------------------
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe