bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13600] protected visibility creates bogus relocation


From: rguenther at suse dot de
Subject: [Bug ld/13600] protected visibility creates bogus relocation
Date: Thu, 19 Jan 2012 11:05:40 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13600

--- Comment #9 from rguenther at suse dot de 2012-01-19 11:05:40 UTC ---
On Thu, 19 Jan 2012, amodra at gmail dot com wrote:

> http://sourceware.org/bugzilla/show_bug.cgi?id=13600
> 
> --- Comment #8 from Alan Modra <amodra at gmail dot com> 2012-01-19 10:50:45 
> UTC ---
> const void *const p = (void *)foo; might be more interesting.  Or
> 
> const struct blah {
>   int (*f) ();
>   int x,y,z,w;
> } f = { .f = printf };

Both go to .rodata.  But that of course has the same problems, whether
foo's defintion is protected or default?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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