Group identifier of a comdat group

Alan Modra amodra@bigpond.net.au
Wed Jun 5 16:47:00 GMT 2002
On Wed, Jun 05, 2002 at 04:18:15PM -0700, Jessica Han wrote:
> 
> How did you get your input assembly file? Is the COMDAT support in GCC
> already or you add the group attributes by hand? Thanks.

Hmm, I thought you were adding the COMDAT support to gcc.  Testcase
attached.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre
-------------- next part --------------
 .text
 .globl _start
_start:
 .long .text.alan

 .section .text.alan,"axG",@progbits,married
 .long 1
 .long 2

 .section .text.liz,"axG",@progbits,married
 .long 3
 .long .data.bar

 .section .data.foo,"awG",@progbits,fun
 .long 4

 .section .data.bar,"awG",@progbits,fun
 .long 5

 .section .rodata.drop1,"aG",@progbits,blah
 .long -1

 .section .data.drop2,"awG",@progbits,blah
 .long -2

 .section .data.drop3,"aw",@progbits
 .long -3

 .section .text.oneoff,"axG",@progbits,oneoff,comdat
 .long 6

 .section .rodata.oneoff,"aG",@progbits,oneoff,comdat
 .long 7


More information about the Binutils mailing list