aboutsummaryrefslogtreecommitdiff
path: root/libgloss/mips/bootcode.ld
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/mips/bootcode.ld')
-rw-r--r--libgloss/mips/bootcode.ld14
1 files changed, 14 insertions, 0 deletions
diff --git a/libgloss/mips/bootcode.ld b/libgloss/mips/bootcode.ld
new file mode 100644
index 0000000..5c1bcbf
--- /dev/null
+++ b/libgloss/mips/bootcode.ld
@@ -0,0 +1,14 @@
+/* This script forces the inclusion of boot code by creating references
+ to all the initialisation functions. These early references also
+ ensure custom versions of code are pulled out of user supplied
+ objects and libraries before default implementations. */
+
+EXTERN (__reset_vector);
+EXTERN (__init_cp0);
+EXTERN (__init_l23cache);
+EXTERN (__init_icache);
+EXTERN (__change_k0_cca);
+EXTERN (__init_dcache);
+EXTERN (__init_tlb);
+EXTERN (__boot_init_hook);
+PROVIDE (__boot_init_hook = 0);