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: [PATCH] More aggressive --gc-sections


> No.  Neither info->relocatable nor info->emitrelocations are necessarily
> set.  You want to add info->shared to the following.  Patch OK for
> mainline binutils with that change.

Ah! Ok, thanks for the clarification.  And the approval.

When (if) the GCC part is accepted, do you want me to write C++ testcases for 
this?  I see that there are already some in ld-selective, but they are of 
course run with -fno-exceptions -Wl,-static (I presume you noticed the 2 
failures with GCC mainline because of the now dead -fvtable-gc).  This would 
allow to monitor the portability problems of the scheme.

-- 
Eric Botcazou


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