This is the mail archive of the binutils@sources.redhat.com 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]

PATCH: Fix PR/161/251: comdat group and linkonce


The current linker doesn't support mix comdat group and linkonce
sections:

http://sources.redhat.com/bugzilla/show_bug.cgi?id=161

This is needed for gcc to generate comdat group without requiring
the whole world should comdat group. Also "ld -r" doesn't work
when relocation section in comdat group:

http://sources.redhat.com/bugzilla/show_bug.cgi?id=251

This patch addresses the first problem by matching linkonce section
with single member comdat group. The second problem is solved by
skipping relocation section in comdat group when setting up group
pointer.


H.J.

Attachment: bfd-group-8.patch
Description: Text document


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