This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix a section group bug
- From: Zack Weinberg <zack at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 26 Apr 2004 15:21:13 -0700
- Subject: Re: PATCH: Fix a section group bug
- References: <20040426220028.GA20301@lucon.org>
"H. J. Lu" <hjl@lucon.org> writes:
> The current assembler will dump core on
>
> section .text,"axG",@progbits,.foo_group,comdat
>
>
> This patch fixes it. I also added the --section-groups/-g option to
> readelf.
Oh, neat, I just tripped over this bug myself. (Can't review your
patch though, sorry.)
A related question: I was looking into GAS support for hppa64-hpux11
style COMDAT groups when I hit the bug. The trouble with this is, it
seems to require multiple sections with the same name. I have no idea
whether BFD can do that. Does anyone know? (This may not actually be
a requirement. It is poorly documented and I am having to reverse
engineer aCC output.)
zw