blob: 516085ae48f5a2626352c466f625e8cd7024667d [file] [log] [blame]
Chris Lattner2210eeb2006-08-04 18:09:27 +00001// RUN: %llvmgcc %s -S -o -
Chris Lattner66463832006-07-31 17:31:48 +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 };