https://sourceware.org/bugzilla/show_bug.cgi?id=21661
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|ld |gas --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- .symver on common symbols shouldn't be allowed: hjl@gnu-tools-1 pr21661]$ cat bad.S .comm foo,8,8 .symver foo,foo@VERS.1 [hjl@gnu-tools-1 pr21661]$ gcc -c bad.S [hjl@gnu-tools-1 pr21661]$ readelf -s bad.o Symbol table '.symtab' contains 6 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: 0000000000000008 8 OBJECT GLOBAL DEFAULT COM foo 5: 0000000000000008 8 OBJECT GLOBAL DEFAULT COM foo@VERS.1 [hjl@gnu-tools-1 pr21661]$ foo and foo@VERS.1 are 2 different common symbols. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils