------- Additional Comments From hjl at lucon dot org  2007-10-16 18:22 -------
The current assembler just ignores

.type   common,%common

by default:

[EMAIL PROTECTED] gas]$ cat x.s
        .common foo, 1
        .type   foo,%common
[EMAIL PROTECTED] gas]$ ./as-new -o x.o x.s
[EMAIL PROTECTED] gas]$ ../binutils/readelf -s x.o

Symbol table '.symtab' contains 5 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 0000000000000000     0 SECTION LOCAL  DEFAULT    1 
     2: 0000000000000000     0 SECTION LOCAL  DEFAULT    2 
     3: 0000000000000000     0 SECTION LOCAL  DEFAULT    3 
     4: 0000000000000001     1 OBJECT  GLOBAL DEFAULT  COM foo
[EMAIL PROTECTED] gas]$ 

I am expecting COMMOM type for foo. I think we should add BSF_COMMON to
support STT_COMMON.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4799

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to