[prev in list] [next in list] [prev in thread] [next in thread]
List: llvm-bugs
Subject: [LLVMbugs] [Bug 4639] New: section .tbss triggers assembler warning
From: bugzilla-daemon () cs ! uiuc ! edu
Date: 2009-07-28 17:27:15
Message-ID: bug-4639-206 () http ! llvm ! org/bugs/
[Download RAW message or body]
http://llvm.org/bugs/show_bug.cgi?id=4639
Summary: section .tbss triggers assembler warning
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs@nondot.org
ReportedBy: nlewycky@google.com
CC: llvmbugs@cs.uiuc.edu
Given x.cc:
static __thread int i;
int* foo() { return &i; }
$ llvm-gcc -O2 x.cc -c -o x.o
/tmp/cc8Qh1Nc.s: Assembler messages:
/tmp/cc8Qh1Nc.s:16: Warning: setting incorrect section type for .tbss
The problem is the .section declaration:
.section .tbss,"awT",@progbits
which under GCC 4.2 reads:
.section .tbss,"awT",@nobits
--
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.
_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic