MIPS: Reserve space for relocation table
[cascardo/linux.git] / arch / mips / Kconfig
index b560911..99ec21f 100644 (file)
@@ -2473,6 +2473,22 @@ config NUMA
 config SYS_SUPPORTS_NUMA
        bool
 
+config RELOCATION_TABLE_SIZE
+       hex "Relocation table size"
+       depends on RELOCATABLE
+       range 0x0 0x01000000
+       default "0x00100000"
+       ---help---
+         A table of relocation data will be appended to the kernel binary
+         and parsed at boot to fix up the relocated kernel.
+
+         This option allows the amount of space reserved for the table to be
+         adjusted, although the default of 1Mb should be ok in most cases.
+
+         The build will fail and a valid size suggested if this is too small.
+
+         If unsure, leave at the default value.
+
 config NODES_SHIFT
        int
        default "6"