Mercurial > hg > graal-compiler
comparison src/os_cpu/linux_x86/vm/os_linux_x86.cpp @ 2191:d70fe6ab4436
6588413: Use -fvisibility=hidden for gcc compiles
Summary: Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.
Reviewed-by: kamg, never
author | coleenp |
---|---|
date | Tue, 01 Feb 2011 11:23:19 -0500 |
parents | 828eafbd85cc |
children | 0cd39a385a72 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2177:3582bf76420e | 2191:d70fe6ab4436 |
---|---|
214 #ifdef AMD64 | 214 #ifdef AMD64 |
215 extern "C" void FetchNPFI () ; | 215 extern "C" void FetchNPFI () ; |
216 extern "C" void FetchNResume () ; | 216 extern "C" void FetchNResume () ; |
217 #endif // AMD64 | 217 #endif // AMD64 |
218 | 218 |
219 extern "C" int | 219 extern "C" JNIEXPORT int |
220 JVM_handle_linux_signal(int sig, | 220 JVM_handle_linux_signal(int sig, |
221 siginfo_t* info, | 221 siginfo_t* info, |
222 void* ucVoid, | 222 void* ucVoid, |
223 int abort_if_unrecognized) { | 223 int abort_if_unrecognized) { |
224 ucontext_t* uc = (ucontext_t*) ucVoid; | 224 ucontext_t* uc = (ucontext_t*) ucVoid; |