]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-generic/vmlinux.lds.h
drm/i915: implement timing override workarounds on LPT
[karo-tx-linux.git] / include / asm-generic / vmlinux.lds.h
index 8aeadf6b553a11346aa5a5a256df1303416535e9..d1ea7ce0b4cb95c9e61935aefbcb09c12f49bdbc 100644 (file)
        CPU_DISCARD(init.data)                                          \
        MEM_DISCARD(init.data)                                          \
        KERNEL_CTORS()                                                  \
-       *(.init.rodata)                                                 \
        MCOUNT_REC()                                                    \
+       *(.init.rodata)                                                 \
        FTRACE_EVENTS()                                                 \
        TRACE_SYSCALLS()                                                \
        DEV_DISCARD(init.rodata)                                        \
                *(.scommon)                                             \
        }
 
+/*
+ * Allow archectures to redefine BSS_FIRST_SECTIONS to add extra
+ * sections to the front of bss.
+ */
+#ifndef BSS_FIRST_SECTIONS
+#define BSS_FIRST_SECTIONS
+#endif
+
 #define BSS(bss_align)                                                 \
        . = ALIGN(bss_align);                                           \
        .bss : AT(ADDR(.bss) - LOAD_OFFSET) {                           \
+               BSS_FIRST_SECTIONS                                      \
                *(.bss..page_aligned)                                   \
                *(.dynbss)                                              \
                *(.bss)                                                 \