[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/246] New: Can't mix comdat group with linkonce section
From: |
hjl at lucon dot org |
Subject: |
[Bug ld/246] New: Can't mix comdat group with linkonce section |
Date: |
30 Jun 2004 18:14:03 -0000 |
If gcc is modified to use comdat group instead of linkonce section. It
may generate code like:
.section .text,"axG",@progbits,.__i686.get_pc_thunk.bx,comdat
.globl __i686.get_pc_thunk.bx
.hidden __i686.get_pc_thunk.bx
.type __i686.get_pc_thunk.bx, @function
__i686.get_pc_thunk.bx:
instead of
.section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits
.globl __i686.get_pc_thunk.bx
.hidden __i686.get_pc_thunk.bx
.type __i686.get_pc_thunk.bx,@function
__i686.get_pc_thunk.bx:
The new gcc should work with the libraris compiled with the
oldler gcc. But the current linker doesn't support mixing
comdat group with linkonce section. I think the linker should
match a member of a COMDAT group with a single member with a
linkonce section.
--
Summary: Can't mix comdat group with linkonce section
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org
http://sources.redhat.com/bugzilla/show_bug.cgi?id=246
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/246] New: Can't mix comdat group with linkonce section,
hjl at lucon dot org <=