PATCH: Fix a section group bug

H. J. Lu hjl@lucon.org
Tue Apr 27 00:51:00 GMT 2004


On Mon, Apr 26, 2004 at 03:21:13PM -0700, Zack Weinberg wrote:
> "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.)

It should work today. File a bug report if it doesn't work.


H.J.



More information about the Binutils mailing list