blob: 3802de8fc459eed23fd072ed50f9858ce8cbefa5 [file] [log] [blame]
Dale Johannesenc54a8ab2008-06-10 18:00:09 +00001// RUN: %llvmgcc -w %s -S -o -
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002// 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 };