summaryrefslogtreecommitdiff
path: root/ldso/ldso/cris
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-07 23:45:58 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-07 23:45:58 +0000
commitefed1986bc3df644fbd7b265786929dc24c42dd6 (patch)
treedf23d61803d25d4971b26610fd26e3c766e3f359 /ldso/ldso/cris
parentab4c887b2e311baa1fdad13443d7db1c8ad27c7f (diff)
get rid of arch-specific defines in dl-startup.c and make each arch declare its requirements about initial bootstrapping
Diffstat (limited to 'ldso/ldso/cris')
-rw-r--r--ldso/ldso/cris/dl-startup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ldso/ldso/cris/dl-startup.h b/ldso/ldso/cris/dl-startup.h
index afc158517..191657a43 100644
--- a/ldso/ldso/cris/dl-startup.h
+++ b/ldso/ldso/cris/dl-startup.h
@@ -26,6 +26,11 @@ asm("" \
* do something a little more subtle here. */
#define GET_ARGV(ARGVP, ARGS) ARGVP = (((unsigned long *) ARGS)+1)
+
+/* We can't call functions earlier in the dl startup process */
+#define NO_FUNCS_BEFORE_BOOTSTRAP
+
+
/* Handle relocation of the symbols in the dynamic loader. */
static inline
void PERFORM_BOOTSTRAP_RELOC(ELF_RELOC *rpnt, unsigned long *reloc_addr,