Removed rldunix.c and rldbeos.c as they are no longer needed.
The runtime linker now exports the API in rldexport.c git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2428 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2,9 +2,8 @@ SubDir OBOS_TOP src kernel apps rld ;
|
|||||||
|
|
||||||
KernelObjects <$(SOURCE_GRIST)>rld.c
|
KernelObjects <$(SOURCE_GRIST)>rld.c
|
||||||
<$(SOURCE_GRIST)>rld0.c
|
<$(SOURCE_GRIST)>rld0.c
|
||||||
<$(SOURCE_GRIST)>rldaux.c
|
<$(SOURCE_GRIST)>rldexport.c
|
||||||
<$(SOURCE_GRIST)>rldbeos.c
|
|
||||||
<$(SOURCE_GRIST)>rldelf.c
|
<$(SOURCE_GRIST)>rldelf.c
|
||||||
<$(SOURCE_GRIST)>rldheap.c
|
<$(SOURCE_GRIST)>rldheap.c
|
||||||
<$(SOURCE_GRIST)>rldunix.c
|
<$(SOURCE_GRIST)>rldaux.c
|
||||||
: -fpic ;
|
: -fpic ;
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
/*
|
|
||||||
** Copyright 2002, Manuel J. Petit. All rights reserved.
|
|
||||||
** Distributed under the terms of the NewOS License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "rld_priv.h"
|
|
||||||
|
|
||||||
int
|
|
||||||
export_load_addon(char const *name, unsigned flags)
|
|
||||||
{
|
|
||||||
(void)(name);
|
|
||||||
(void)(flags);
|
|
||||||
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
|
||||||
export_unload_addon(int lib, unsigned flags)
|
|
||||||
{
|
|
||||||
(void)(lib);
|
|
||||||
(void)(flags);
|
|
||||||
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
void *
|
|
||||||
export_addon_symbol(int lib, char const *sym, unsigned flags)
|
|
||||||
{
|
|
||||||
(void)(lib);
|
|
||||||
(void)(sym);
|
|
||||||
(void)(flags);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
/*
|
|
||||||
** Copyright 2002, Manuel J. Petit. All rights reserved.
|
|
||||||
** Distributed under the terms of the NewOS License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "rld_priv.h"
|
|
||||||
|
|
||||||
int
|
|
||||||
export_dl_open(char const *name, unsigned flags)
|
|
||||||
{
|
|
||||||
(void)(name);
|
|
||||||
(void)(flags);
|
|
||||||
|
|
||||||
return load_library(name);
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
|
||||||
export_dl_close(int lib, unsigned flags)
|
|
||||||
{
|
|
||||||
(void)(flags);
|
|
||||||
|
|
||||||
return unload_library(lib);
|
|
||||||
}
|
|
||||||
|
|
||||||
void *
|
|
||||||
export_dl_sym(int lib, char const *sym, unsigned flags)
|
|
||||||
{
|
|
||||||
(void)(lib);
|
|
||||||
(void)(sym);
|
|
||||||
(void)(flags);
|
|
||||||
|
|
||||||
return dynamic_symbol(lib, sym);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user