Re: [PATCH, GCC/LTO] Fix PR69866: LTO with def for weak alias in regular object file

2017-03-09 Thread Thomas Preudhomme
Ping? Best regards, Thomas On 02/03/17 14:51, Thomas Preudhomme wrote: Hi, This patch fixes an assert failure when linking one LTOed object file having a weak alias with a regular object file containing a strong definition for that same symbol. The patch is twofold: + do not add an alias to

[PATCH, GCC/LTO] Fix PR69866: LTO with def for weak alias in regular object file

2017-03-02 Thread Thomas Preudhomme
Hi, This patch fixes an assert failure when linking one LTOed object file having a weak alias with a regular object file containing a strong definition for that same symbol. The patch is twofold: + do not add an alias to a partition if it is external + do not declare (.globl) an alias if it is e