bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/14891] New: Section name and symbol name clash


From: d.g.gorbachev at gmail dot com
Subject: [Bug gas/14891] New: Section name and symbol name clash
Date: Thu, 29 Nov 2012 05:45:05 +0000

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

             Bug #: 14891
           Summary: Section name and symbol name clash
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


Created attachment 6762
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6762
Testcases (ELF)

The 1st testcase fails with an error:

$ as 1.s -o 1.o --defsym X=1
1.s: Assembler messages:
1.s:18: Warning: section symbols are already global
1.s:23: Error: symbol `foo' is already defined

But in the 2nd case, a symbol silently disappears:

$ as 1.s -o 1.o
$ nm -a 1.o
00000000 D bar
00000000 b .bss
00000000 d .data
00000000 d foo
00000000 t .text

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]