Renamed runtime loader source files.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16935 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-03-30 16:29:53 +00:00
parent 3a42c9ba15
commit 76cd9b1961
11 changed files with 34 additions and 31 deletions

View File

@ -9,7 +9,7 @@ SubDirCcFlags -fno-builtin ;
SubDirC++Flags -fno-builtin ;
# needed for rld.so only
StaticLibrary librld.a :
StaticLibrary libruntime_loader.a :
kernel_vsprintf.c
:
<src!system!libroot!os>syscalls.o
@ -56,18 +56,18 @@ SEARCH on [ FGristFiles kernel_vsprintf.c ]
SEARCH_SOURCE += [ FDirName $(SUBDIR) arch $(TARGET_ARCH) ] ;
Objects
rld.c
rldexport.c
rldelf.c
rldheap.c
rldaux.c
runtime_loader.c
elf.c
export.c
heap.c
utility.c
arch_relocate.c
arch_call_init_term.c
;
Ld rld.so :
[ FGristFiles rld.o rldelf.o rldexport.o rldheap.o rldaux.o arch_relocate.o arch_call_init_term.o ]
librld.a
[ FGristFiles runtime_loader.o elf.o export.o heap.o utility.o arch_relocate.o arch_call_init_term.o ]
libruntime_loader.a
$(TARGET_GCC_LIBGCC)
: $(HAIKU_TOP)/src/system/ldscripts/$(TARGET_ARCH)/rld.ld
;

View File

@ -8,7 +8,7 @@
*/
#include "rld_priv.h"
#include "runtime_loader_private.h"
typedef void (*init_term_function)(image_id);

View File

@ -1,16 +1,16 @@
/*
* Copyright 2003-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Copyright 2003-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include "runtime_loader_private.h"
#include <runtime_loader.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "rld_priv.h"
//#define TRACE_RLD
#ifdef TRACE_RLD

View File

@ -8,7 +8,7 @@
*/
#include "rld_priv.h"
#include "runtime_loader_private.h"
void

View File

@ -8,14 +8,14 @@
*/
#include "runtime_loader_private.h"
#include <runtime_loader.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "rld_priv.h"
//#define TRACE_RLD
#ifdef TRACE_RLD

View File

@ -8,6 +8,8 @@
*/
#include "runtime_loader_private.h"
#include <OS.h>
#include <elf32.h>
@ -22,8 +24,6 @@
#include <stdio.h>
#include <stdlib.h>
#include "rld_priv.h"
//#define TRACE_RLD
#ifdef TRACE_RLD

View File

@ -1,5 +1,5 @@
/*
* Copyright 2003-2005, Axel Dörfler, axeld@pinc-software.de.
* Copyright 2003-2006, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*
* Copyright 2002, Manuel J. Petit. All rights reserved.
@ -7,7 +7,7 @@
*/
#include "rld_priv.h"
#include "runtime_loader_private.h"
// exported via the rld_export structure in user space program arguments

View File

@ -1,12 +1,13 @@
/*
** Copyright 2002, Manuel J. Petit. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
* Copyright 2002, Manuel J. Petit. All rights reserved.
* Distributed under the terms of the NewOS License.
*/
#include "runtime_loader_private.h"
#include <string.h>
#include <syscalls.h>
#include "rld_priv.h"
#define RLD_SCRATCH_SIZE 65536

View File

@ -1,5 +1,5 @@
/*
* Copyright 2005, Axel Dörfler, axeld@pinc-software.de.
* Copyright 2005-2006, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*
* Copyright 2002, Manuel J. Petit. All rights reserved.
@ -7,9 +7,10 @@
*/
#include "runtime_loader_private.h"
#include <syscalls.h>
#include <user_runtime.h>
#include "rld_priv.h"
#include <string.h>
#include <stdlib.h>

View File

@ -5,13 +5,14 @@
* Copyright 2002, Manuel J. Petit. All rights reserved.
* Distributed under the terms of the NewOS License.
*/
#ifndef RUN_TIME_LINKER_H
#define RUN_TIME_LINKER_H
#ifndef RUNTIME_LOADER_H
#define RUNTIME_LOADER_H
#include <user_runtime.h>
#include <runtime_loader.h>
int runtime_loader(void *arg);
int open_executable(char *name, image_type type, const char *rpath);
status_t test_executable(const char *path, uid_t user, gid_t group, char *starter);
@ -44,4 +45,4 @@ void arch_call_term(image_t *image);
extern struct uspace_program_args *gProgramArgs;
extern struct rld_export gRuntimeLoader;
#endif /* RUN_TIME_LINKER_H */
#endif /* RUNTIME_LOADER_H */

View File

@ -1,5 +1,5 @@
/*
* Copyright 2005, Axel Dörfler, axeld@pinc-software.de.
* Copyright 2005-2006, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*
* Copyright 2001, Travis Geiselbrecht. All rights reserved.
@ -7,13 +7,13 @@
*/
#include "runtime_loader_private.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <syscalls.h>
#include "rld_priv.h"
char *
getenv(const char *name)