https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968

--- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
> On Mon, 28 Aug 2017, ro at CeBiTec dot Uni-Bielefeld.DE wrote:
[...]
> Thanks.  Can you check whether the above patch resolves the extra
> warning about section flags?  The symtab entry one will prevail
> of course.

Sure: it did indeed in last night's sparc-sun-solaris2.11 and
i386-pc-solaris2.11 bootstraps.  Thanks.

However, I noticed now that I'd missed another ld warning:

ld: warning: file /var/tmp//ccS6p31cdebugobjtem: section [29].symtab:
symbol[30]: global symbol has no name

and some more.  Seen e.g in gcc.dg/debug/pr41893-1.c with -gdwarf-2 -g3.
And indeed elfdump -s shows

ro@colima 112 > elfdump -s /var/tmp//ccCyYAtcdebugobjtem |grep GLOB
   [29]       0    0  NOTY GLOB  D    0 UNDEF                     
   [31]       0    0  NOTY GLOB  D    0 UNDEF

        Rainer

Reply via email to