This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

icf_safe_test in gold fails with gcc-4.0.3


Hi,

   With gcc-4.0.3, icf_safe_test fails.

Safe Identical Code Folding did not fold  _ZN1AD1Ev and _ZN1AC1Ev
FAIL: icf_safe_test.sh

This is because gcc-4.0.3 puts constructors and destructors in
.gnu.linkonce.t sections whereas gcc-4.4, on which ICF was tested,
puts them in .text sections. I can modify ICF to also fold
.gnu.linkonce.t sections and that should solve the problem. Would this
be alright ?

Thanks,
-Sri.


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