Mercurial > hg > graal-compiler
comparison src/os_cpu/linux_zero/vm/os_linux_zero.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 | 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2177:3582bf76420e | 2191:d70fe6ab4436 |
---|---|
114 | 114 |
115 frame os::fetch_frame_from_context(void* ucVoid) { | 115 frame os::fetch_frame_from_context(void* ucVoid) { |
116 ShouldNotCallThis(); | 116 ShouldNotCallThis(); |
117 } | 117 } |
118 | 118 |
119 extern "C" int | 119 extern "C" JNIEXPORT int |
120 JVM_handle_linux_signal(int sig, | 120 JVM_handle_linux_signal(int sig, |
121 siginfo_t* info, | 121 siginfo_t* info, |
122 void* ucVoid, | 122 void* ucVoid, |
123 int abort_if_unrecognized) { | 123 int abort_if_unrecognized) { |
124 ucontext_t* uc = (ucontext_t*) ucVoid; | 124 ucontext_t* uc = (ucontext_t*) ucVoid; |