[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/3182] New: objcopy doesn't update section group when a mem
From: |
hjl at lucon dot org |
Subject: |
[Bug binutils/3182] New: objcopy doesn't update section group when a member is removed |
Date: |
6 Sep 2006 23:20:57 -0000 |
When objcopy removes a group member section, it removes the entry in
section group. Is this the correct thing to do?
address@hidden objcopy-1]$ cat group.s
.section .text,"axG",%progbits,foo_group,comdat
.global foo
foo:
.word 0
.section .data,"awG",%progbits,foo_group,comdat
.global bar
bar:
.word 0
.section .debug_loc,"G",@progbits,foo_group,comdat
.word 0
address@hidden objcopy-1]$ make
as -o group.o group.s
./objcopy -R .debug_loc group.o x.o
readelf -g group.o
COMDAT group section [ 1] `foo_group' [foo_group] contains 3 sections:
[Index] Name
[ 5] .text
[ 6] .data
[ 7] .debug_loc
readelf -g x.o
COMDAT group section [ 1] `foo_group' [foo_group] contains 3 sections:
[Index] Name
[ 5] .text
[ 6] .data
[ 0]
--
Summary: objcopy doesn't update section group when a member is
removed
Product: binutils
Version: 2.18 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=3182
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/3182] New: objcopy doesn't update section group when a member is removed,
hjl at lucon dot org <=