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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils