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

dimitar.yordanov at sap dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dimitar.yordanov at sap dot com

--- Comment #15 from dimitar.yordanov at sap dot com ---
Hi,

after this fix I see.debug_info entries in the .symtab, which seem unneeded to
me(on Linux x86_64). If they are unnecessary should they be removed by the
linker or the plugin? Is the fix in this patch only needed for HPUX, because of
misbehaving linker?


cat > foo.c << EOF
const char *a = "a";
EOF

g++ -flto -gdwarf-4 -g1 -o foo.c.o -c foo.c
g++ -flto -shared -o libfoo.so foo.c.o
objdump -t libfoo.so | grep debug_info

Best wishes,
D.

Reply via email to