blob: 516085ae48f5a2626352c466f625e8cd7024667d [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgcc %s -S -o -
2// PR854
3 struct kernel_symbol {
4 unsigned long value;
5 };
6 unsigned long loops_per_jiffy = (1<<12);
7 static const char __kstrtab_loops_per_jiffy[]
8__attribute__((section("__ksymtab_strings"))) = "loops_per_jiffy";
9 static const struct kernel_symbol __ksymtab_loops_per_jiffy
10__attribute__((__used__)) __attribute__((section("__ksymtab"))) = { (unsigned
11long)&loops_per_jiffy, __kstrtab_loops_per_jiffy };