[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/6931] COMDAT group is broken
From: |
hjl dot tools at gmail dot com |
Subject: |
[Bug ld/6931] COMDAT group is broken |
Date: |
3 Oct 2008 15:16:07 -0000 |
------- Additional Comments From hjl dot tools at gmail dot com 2008-10-03
15:16 -------
It still isn't right:
bash-3.2$ cat
/export/gnu/src/binutils/binutils/binutils/testsuite/binutils-all/group.s
.section .text.foo,"axG",%progbits,foo_group,comdat
.global foo
foo:
.word 0
.section .data.foo,"awG",%progbits,foo_group,comdat
.global bar
bar:
.word 0
bash-3.2$ cat
/export/gnu/src/binutils/binutils/binutils/testsuite/binutils-all/group-2.s
.section .text.foo,"axG",%progbits,.text.foo,comdat
.global foo2
foo2:
.word 0
.section .data.bar,"awG",%progbits,.text.foo,comdat
.global bar2
bar2:
.word 0
bash-3.2$ gcc -c
/export/gnu/src/binutils/binutils/binutils/testsuite/binutils-all/group.s
/export/gnu/src/binutils/binutils/binutils/testsuite/binutils-all/group-2.s
bash-3.2$ ./ld-new -r group.o group-2.o
bash-3.2$ readelf -g group-2.o
COMDAT group section [ 1] `.group' [.text.foo] contains 2 sections:
[Index] Name
[ 5] .text.foo
[ 6] .data.bar
bash-3.2$ readelf -g a.out
COMDAT group section [ 1] `foo_group' [foo_group] contains 2 sections:
[Index] Name
[ 4] .text.foo
[ 7] .data.foo
COMDAT group section [ 2] `.group' [.text.foo.1] contains 2 sections:
[Index] Name
[ 5] .text.foo.1
[ 8] .data.bar
bash-3.2$
"ld -r" generates wrong group signature.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://sourceware.org/bugzilla/show_bug.cgi?id=6931
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/6931] New: COMDAT group is broken, hjl dot tools at gmail dot com, 2008/10/01
- [Bug ld/6931] COMDAT group is broken, hjl dot tools at gmail dot com, 2008/10/01
- [Bug ld/6931] COMDAT group is broken, hjl dot tools at gmail dot com, 2008/10/01
- [Bug ld/6931] COMDAT group is broken, hjl dot tools at gmail dot com, 2008/10/01
- [Bug ld/6931] COMDAT group is broken, amodra at bigpond dot net dot au, 2008/10/02
- [Bug ld/6931] COMDAT group is broken, amodra at bigpond dot net dot au, 2008/10/02
- [Bug ld/6931] COMDAT group is broken, amodra at bigpond dot net dot au, 2008/10/03
- [Bug ld/6931] COMDAT group is broken,
hjl dot tools at gmail dot com <=
- [Bug ld/6931] COMDAT group is broken, amodra at bigpond dot net dot au, 2008/10/04