aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/mipself.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/mipself.em')
-rw-r--r--ld/emultempl/mipself.em20
1 files changed, 0 insertions, 20 deletions
diff --git a/ld/emultempl/mipself.em b/ld/emultempl/mipself.em
index fe46e0d..108d33f 100644
--- a/ld/emultempl/mipself.em
+++ b/ld/emultempl/mipself.em
@@ -227,26 +227,6 @@ mips_before_allocation (void)
gld${EMULATION_NAME}_before_allocation ();
}
-/* Avoid processing the fake stub_file in vercheck, stat_needed and
- check_needed routines. */
-
-static void (*real_func) (lang_input_statement_type *);
-
-static void mips_for_each_input_file_wrapper (lang_input_statement_type *l)
-{
- if (l != stub_file)
- (*real_func) (l);
-}
-
-static void
-mips_lang_for_each_input_file (void (*func) (lang_input_statement_type *))
-{
- real_func = func;
- lang_for_each_input_file (&mips_for_each_input_file_wrapper);
-}
-
-#define lang_for_each_input_file mips_lang_for_each_input_file
-
EOF
# Define some shell vars to insert bits of code into the standard elf