[LLVMbugs] [Bug 3564] New: __attribute__((__section__(x))) symbols generation problems

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Feb 12 13:21:08 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3564

           Summary: __attribute__((__section__(x))) symbols generation
                    problems
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


when I compile the attached with clang and gcc I am getting different things:

lev /tmp$ gcc -c dataset.c; nm dataset.o
0000000000000000 r __set_foo_sym_bar.1873
0000000000000000 b bar
0000000000000000 T foo

lev /tmp$ ccc -c dataset.c ; nm dataset.o
ccc: Unknown host 'freebsd', using generic host information.
0000000000000000 b bar
0000000000000000 T foo
0000000000000000 d foo.__set_foo_sym_bar


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



More information about the llvm-bugs mailing list