mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6588413: Use -fvisibility=hidden for gcc compiles
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
This commit is contained in:
parent
7b4f8073f0
commit
cba53708ec
17 changed files with 50 additions and 82 deletions
|
@ -4221,7 +4221,9 @@ void os::os_exception_wrapper(java_call_t f, JavaValue* value, methodHandle* met
|
|||
// Note that the VM will print warnings if it detects conflicting signal
|
||||
// handlers, unless invoked with the option "-XX:+AllowUserSignalHandlers".
|
||||
//
|
||||
extern "C" int JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext, int abort_if_unrecognized);
|
||||
extern "C" JNIEXPORT int
|
||||
JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext,
|
||||
int abort_if_unrecognized);
|
||||
|
||||
|
||||
void signalHandler(int sig, siginfo_t* info, void* ucVoid) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue