This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lto-symtab and used_from_object_file


On Thu, Jul 15, 2010 at 2:57 PM, Diego Novillo <dnovillo@google.com> wrote:
> On 10-07-15 08:37 , Jan Hubicka wrote:
>
>> It would be nice to have way to add -flinker-plugin testcases to
>> testsuite.
>
> Indeed. ?We would need to detect gold from lto.exp.

I'm tring to cook up sth at the moment.

Richard.

>>
>> Bootstrapped/regtested x86_64-linux, OK?
>>
>> ? ? ? ?* lto-symtab.c (lto_symtab_resolve_symbols): Remove hack handling
>> comdats
>> ? ? ? ?for broken gold.
>> ? ? ? ?(lto_symtab_merge_decls_1): Set used_from_object_file correctly.
>
> OK with
>
>> - ?/* Set externally_visible flags for declaration of LDPR_PREVAILING_DEF
>> */
>> - ?if (flag_whole_program)
>> + ?/* Set used_from_object_file flags */
>> + ?if (prevailing->resolution == LDPR_PREVAILING_DEF
>
> End comment in '. ?*/'
>
>
> Diego.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]