summaryrefslogtreecommitdiff
path: root/ldso/ldso/ldso.c
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-04-03 19:16:55 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-04-03 19:16:55 +0000
commit447c0b15721de43c8e4b3e5a415915b2867e33e3 (patch)
tree9dddd5b5590966ae499c41e50de4adfea0172e93 /ldso/ldso/ldso.c
parent8ae1e1d1cc6b337853332fd7ffd968f44745a6d1 (diff)
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.
Diffstat (limited to 'ldso/ldso/ldso.c')
-rw-r--r--ldso/ldso/ldso.c3
1 files changed, 3 insertions, 0 deletions
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);