2011-12-22 16:19:25 +01:00
|
|
|
/*
|
|
|
|
* Symbols exported by the ld.lib.so
|
|
|
|
*/
|
|
|
|
{
|
|
|
|
global:
|
|
|
|
|
|
|
|
/* We export all C++ symbols with prefix Genode::, as well as all vtables,
|
|
|
|
* type informations and operators new and delete
|
|
|
|
*/
|
|
|
|
extern "C++" {
|
|
|
|
Genode::*;
|
|
|
|
*typeinfo*;
|
|
|
|
vtable*;
|
|
|
|
init_exception_handling*;
|
|
|
|
operator*new*;
|
|
|
|
operator*delete*;
|
2014-02-11 18:13:56 +01:00
|
|
|
genode_atexit*;
|
|
|
|
genode_exit*;
|
|
|
|
genode___cxa_finalize*;
|
|
|
|
genode_envp;
|
|
|
|
genode_argv;
|
|
|
|
genode_argc;
|
2011-12-22 16:19:25 +01:00
|
|
|
};
|
|
|
|
__dynamic_cast;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Debugging
|
|
|
|
*/
|
|
|
|
wait_for_continue;
|
|
|
|
stdout_write;
|
2012-02-22 12:35:26 +01:00
|
|
|
stdout_reconnect;
|
2011-12-22 16:19:25 +01:00
|
|
|
raw_write_str;
|
|
|
|
|
|
|
|
/* Testing */
|
|
|
|
extern "C++" {
|
|
|
|
__ldso_raise_exception*;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* GNU verbose terminate handler */
|
|
|
|
extern "C++" { __gnu_cxx::__verbose_terminate_handler*; };
|
|
|
|
|
2012-05-10 15:42:41 +02:00
|
|
|
extern "C++" { std::terminate*; };
|
2012-08-31 17:13:06 +02:00
|
|
|
extern "C++" { std::bad_exception*; };
|
|
|
|
extern "C++" { std::exception*; };
|
|
|
|
extern "C++" { std::uncaught_exception*; };
|
2012-05-10 15:42:41 +02:00
|
|
|
|
2011-12-22 16:19:25 +01:00
|
|
|
/* x86 */
|
|
|
|
__cxa*;
|
2012-07-10 23:03:48 +02:00
|
|
|
_Unwind_Complete;
|
|
|
|
_Unwind_DeleteException;
|
2011-12-22 16:19:25 +01:00
|
|
|
_Unwind_Resume;
|
|
|
|
__gxx_personality_v0;
|
2014-05-20 11:40:50 +02:00
|
|
|
dl_iterate_phdr;
|
2011-12-22 16:19:25 +01:00
|
|
|
|
|
|
|
/* ARM */
|
|
|
|
__aeabi_*;
|
|
|
|
dl_unwind_find_exidx;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Kernel specific symbols
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Fiasco.OC */
|
|
|
|
l4_utcb_wrap;
|
|
|
|
__l4_sys_direct_sycalls;
|
|
|
|
l4_atomic_cmpxchg;
|
|
|
|
|
|
|
|
extern "C++" {
|
|
|
|
main_thread_utcb*;
|
|
|
|
};
|
|
|
|
|
2014-02-12 11:12:14 +01:00
|
|
|
/* Linux */
|
|
|
|
lx_syscall;
|
|
|
|
|
2014-03-03 11:47:28 +01:00
|
|
|
/* Base HW */
|
|
|
|
extern "C++" {
|
|
|
|
Kernel::*;
|
|
|
|
};
|
|
|
|
|
2011-12-22 16:19:25 +01:00
|
|
|
local:
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Everything else is local
|
|
|
|
*/
|
|
|
|
*;
|
|
|
|
};
|