[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/3831] Support for automatically including symbols in the list of

From: hjl at lucon dot org
Subject: [Bug ld/3831] Support for automatically including symbols in the list of dynamic symbols that are referenced as global data
Date: 1 Feb 2007 00:20:26 -0000

------- 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.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]