PATCH: Fix a section group bug
Zack Weinberg
zack@codesourcery.com
Mon Apr 26 22:26:00 GMT 2004
"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
More information about the Binutils
mailing list