This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Consolidate .comm and .lcomm code
On Sat, Dec 13, 2003 at 07:27:57PM +1030, Alan Modra wrote:
> And this is the reason I started looking at .comm and .lcomm. Fixes
> http://sources.redhat.com/ml/binutils/2002-08/msg00207.html
>
> * read.c (s_lcomm_internal): Make global.
> * read.h (s_lcomm_internal): Declare.
> * config/obj-elf.c (elf_pseudo_table): Handle lcomm.
> (obj_elf_lcomm): New function.
I forgot to mention this one. Committed.
gas/testsuite/ChangeLog
* gas/mmix/basep-8.d: Update for lcomm symbol type change.
* gas/mmix/basep-9.d: Likewise.
Index: gas/testsuite/gas/mmix/basep-8.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mmix/basep-8.d,v
retrieving revision 1.1
diff -u -p -r1.1 basep-8.d
--- gas/testsuite/gas/mmix/basep-8.d 4 Feb 2002 04:01:32 -0000 1.1
+++ gas/testsuite/gas/mmix/basep-8.d 13 Dec 2003 23:28:54 -0000
@@ -12,8 +12,8 @@ SYMBOL TABLE:
0+ l d \.text 0+
0+ l d \.data 0+
0+ l d \.bss 0+
-0+ l \.bss 0+4 comm_symbol3
-0+4 l \.bss 0+4 comm_symbol4
+0+ l O \.bss 0+4 comm_symbol3
+0+4 l O \.bss 0+4 comm_symbol4
0+4 O \*COM\* 0+4 comm_symbol1
0+4 O \*COM\* 0+4 comm_symbol2
Index: gas/testsuite/gas/mmix/basep-9.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mmix/basep-9.d,v
retrieving revision 1.2
diff -u -p -r1.2 basep-9.d
--- gas/testsuite/gas/mmix/basep-9.d 3 Sep 2003 08:26:51 -0000 1.2
+++ gas/testsuite/gas/mmix/basep-9.d 13 Dec 2003 23:28:54 -0000
@@ -6,8 +6,8 @@ SYMBOL TABLE:
0+ l d \.text 0+
0+ l d \.data 0+
0+ l d \.bss 0+
-0+ l \.bss 0+4 comm_symbol3
-0+4 l \.bss 0+4 comm_symbol4
+0+ l O \.bss 0+4 comm_symbol3
+0+4 l O \.bss 0+4 comm_symbol4
0+ l d \.MMIX\.reg_contents 0+
0+4 O \*COM\* 0+4 comm_symbol1
--
Alan Modra
IBM OzLabs - Linux Technology Centre