This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Relocation against discarded sections


On Wed, 17 Dec 2008 23:17:49 +0100, Evandro Menezes wrote:
> I understand why some sections should be discarded, but why are there
> relocations against discarded sections at all?

>From a tried testcase on RTTI g++ (4.3 and 4.4.0-20081216) I find is a problem
of g++ it does not properly put the code (.text) and RTTI (.rodata) into the
same COMDAT group.  Found no existing GCC Bug for it, I will file it if there
are no other opinions.

With COMDAT ld should no longer need any more specific link-once handling.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]