Removed empty stubs already exported by libgcc.a (was needed to link properly before).
Added more global variables that are maintained by the BeOS startup code. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8314 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the Haiku License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -17,32 +17,13 @@ char *__progname = NULL;
|
|||||||
|
|
||||||
char _single_threaded = true;
|
char _single_threaded = true;
|
||||||
// determines if I/O locking needed; needed for BeOS compatibility
|
// determines if I/O locking needed; needed for BeOS compatibility
|
||||||
|
|
||||||
|
int __libc_argc;
|
||||||
|
char **__libc_argv;
|
||||||
thread_id __main_thread_id;
|
thread_id __main_thread_id;
|
||||||
char **argv_save;
|
char **argv_save;
|
||||||
// needed for BeOS compatibility - they are set in the original
|
// needed for BeOS compatibility - they are set in the startup code
|
||||||
// BeOS startup code, but they won't be initialized when the
|
// (have a look at the glue/ directory)
|
||||||
// OpenBeOS startup code is used.
|
|
||||||
|
|
||||||
|
|
||||||
// ToDo: these functions are defined in libgcc - this one is included in
|
|
||||||
// libroot.so in BeOS, but we probably don't want to do that.
|
|
||||||
// Since we don't yet have libgcc at all, it's defined here for now
|
|
||||||
// so that BeOS executables will find them.
|
|
||||||
// Remove them later!
|
|
||||||
|
|
||||||
|
|
||||||
void __deregister_frame_info(void);
|
|
||||||
void
|
|
||||||
__deregister_frame_info(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void __register_frame_info(void);
|
|
||||||
void
|
|
||||||
__register_frame_info(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user