http://llvm.org/bugs/show_bug.cgi?id=9065
Summary: Small incompatibility in "#pragma GCC visibility push"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Compiling
-----------------------------------
//void bar(void);
#pragma GCC visibility push(hidden)
//void bar(void);
void foo()
{
bar();
}
----------------------------------
with -fPIC, both clang and gcc will produce a R_X86_64_PLT32 relocation if the
first declaration in uncommented and a R_X86_64_PC32 if the second one. They
disagree if both are commented, gcc will produce a R_X86_64_PLT32 and clang a
R_X86_64_PC32.
--
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
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs