When objcopy removes a group member section, it removes the entry in section group. Is this the correct thing to do?
[EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils