| 1 | /* Space for the symbol table |
| 2 | * |
| 3 | * scripts/stamp_syms.py fills this in after the kernel is linked |
| 4 | * |
| 5 | * Leading bytes are a placeholder because an image no one |
| 6 | * stamped then reports no symbols instead of reading a header full of zeroes |
| 7 | * as a valid empty table |
| 8 | * |
| 9 | * The initialiser also keeps the section PROGBITS, an all zero array would be |
| 10 | * moved to .bss, and there would be nothing on disk for objcopy to replace */ |
| 11 | #include <linker/symbol_table.h> |
| 12 | |
| 13 | __attribute__((section(".kernel_syms" ), used, aligned(16))) |
| 14 | const char kernel_syms_blob[KERNEL_SYMS_RESERVE] = "NOSYMS" ; |
| 15 | |