summaryrefslogtreecommitdiff
path: root/csu/libc-start.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-11-30 15:01:58 +0100
committerAndreas Schwab <schwab@redhat.com>2009-11-30 15:01:58 +0100
commit54ff413202df84fc1e90d5299a9eb55f2bf4eb31 (patch)
tree2e5c0006e2aaf0514cf30373e9b3ff1dc0c1fe6b /csu/libc-start.c
parentb127b8513f55a7d1a9312f32740914ed764f080c (diff)
parentb55ec98c6490b944593243c7da54dda1796e3f84 (diff)
Merge remote branch 'origin/master' into fedora/master
Diffstat (limited to 'csu/libc-start.c')
-rw-r--r--csu/libc-start.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/csu/libc-start.c b/csu/libc-start.c
index 80b672f88d..dc7ca55f09 100644
--- a/csu/libc-start.c
+++ b/csu/libc-start.c
@@ -24,6 +24,9 @@
#include <bp-sym.h>
extern void __libc_init_first (int argc, char **argv, char **envp);
+#ifndef SHARED
+extern void __libc_csu_irel (void);
+#endif
extern int __libc_multiple_libcs;
@@ -134,6 +137,9 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
}
# endif
+ /* Performe IREL{,A} relocations. */
+ __libc_csu_irel ();
+
/* Initialize the thread library at least a bit since the libgcc
functions are using thread functions if these are available and
we need to setup errno. */