From 447c0b15721de43c8e4b3e5a415915b2867e33e3 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Sun, 3 Apr 2005 19:16:55 +0000 Subject: Prepare PowerPC some more for standalone exection of ldso. Note that every arch that wants to support standalone execution needs to align its stack pointer in crtX since ldso will adjust the stack pointer when adjusting argc and argv in standalone mode. --- ldso/ldso/ldso.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ldso/ldso/ldso.c') diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index f68f703ec..80dcf2593 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -59,6 +59,9 @@ char *_dl_debug_bindings = 0; int _dl_debug_file = 2; #endif +/* Needed for standalone execution. */ +unsigned long attribute_hidden _dl_skip_args = 0; + #include "dl-startup.c" /* Forward function declarations */ static int _dl_suid_ok(void); -- cgit v1.2.3