------- Additional Comments From hjl at lucon dot org 2007-02-01 00:20 ------- (In reply to comment #17) > Created an attachment (id=1502) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1502&action=view) > Example to easily reproduce the new relative relocations > > (In reply to comment #15) > > I don't know. Please provide a small testcase. I will look into it. Thanks. > Actually, it seems that the new relative relocations I was talking about were > previously simple relocations when I didn't use the -Bsymbolic-functions > option. > It seems these new relative relocations are created in the case this > optimization is applied on virtual functions. > > I provide a small example where you can easily see the difference. > With -Bsymbolic-functions I got 1144 relocations and and 1861 relatives > relocations, whereas, without it, I got 1145 relocations and 1860 relatives > relocations. > > After having thought about that, we think this is normal. Can you confirm?
I took a second look. It isn't normal. You should get less total relocations with -Bsymbolic-functions. Your testcase shows that -Bsymbolic-functions removes one PLT relocation and turns R_386_32 into R_386_RELATIVE. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3831 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils