Fixed various binary compatibility problems with R4.5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11957 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -25,6 +25,9 @@ char **argv_save;
|
||||
// needed for BeOS compatibility - they are set in the startup code
|
||||
// (have a look at the glue/ directory)
|
||||
|
||||
int _data_offset_main_;
|
||||
// this is obviously needed for R4.5 compatiblity
|
||||
|
||||
|
||||
void
|
||||
initialize_before(image_id imageID, struct uspace_program_args const *args)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||
/*
|
||||
* Copyright 2003-2005, Axel Dörfler, [email protected]. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
@@ -18,3 +18,16 @@ _kfind_thread_(const char *name)
|
||||
{
|
||||
return _kern_find_thread(name);
|
||||
}
|
||||
|
||||
|
||||
extern thread_id _kget_thread_stacks_(thread_id thread, uint32 *stacks);
|
||||
|
||||
status_t
|
||||
_kget_thread_stacks_(thread_id thread, uint32 *stacks)
|
||||
{
|
||||
// This one is obviously called from the R4.5 startup code. I am not
|
||||
// exactly sure how it returns its infos, but just returning an
|
||||
// error seems to work fine as well
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
||||
@@ -745,11 +745,6 @@ BHandler::IsWatched() const
|
||||
}
|
||||
|
||||
|
||||
void BHandler::_ReservedHandler2() {}
|
||||
void BHandler::_ReservedHandler3() {}
|
||||
void BHandler::_ReservedHandler4() {}
|
||||
|
||||
|
||||
void
|
||||
BHandler::InitData(const char *name)
|
||||
{
|
||||
@@ -785,6 +780,16 @@ BHandler::SetLooper(BLooper *loop)
|
||||
}
|
||||
|
||||
|
||||
#ifdef __INTEL__
|
||||
// binary compatibility with R4.5
|
||||
extern "C" void _ReservedHandler1__8BHandler(void) {}
|
||||
#endif
|
||||
|
||||
void BHandler::_ReservedHandler2() {}
|
||||
void BHandler::_ReservedHandler3() {}
|
||||
void BHandler::_ReservedHandler4() {}
|
||||
|
||||
|
||||
// #pragma mark -
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user