This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gold: Relocation refers to discarded comdat section
- From: Roland Baumann <roland dot baumann at CoWare dot com>
- To: binutils at sourceware dot org
- Date: Fri, 04 Jul 2008 16:24:15 +0200
- Subject: gold: Relocation refers to discarded comdat section
Hi,
with a current version of gold (updated today), I get many warnings of
the form
libsystemc.a(sc_fxval.o):(.rodata+0x60): warning: Relocation refers to
discarded comdat section
But the executable works fine. I do not see these warning when using ld
from binutils 2.18.
I have only a vague idea what the warning means, but I would like to
avoid it. I use gcc 3.4.4 and the source code is C++. Can someone help
me out?
Thanks,
Roland