* This file is used during creation of real tcb-offsets.h
because lowlevellock.h from i386 also include tcb-offsets.h
and it is inturn included by tls.h and tls.h is used in
the dummy C file generated from tcb-offsets.sym, it created
a catch-22
Signed-off-by: Khem Raj <raj.khem@gmail.com>
NF > 1 {
name = $1;
sub(/^[^ ]+[ ]+/, "");
- printf "__asm__ (\"@@@name@@@%s@@@value@@@%%0@@@end@@@\" : : \"i\" (%s));\n",
+ printf "__asm__ (\"@@@name@@@%s@@@value@@@%%0@@@end@@@\" : : \"i\" ((long) %s));\n",
name, $0;
}
--- /dev/null
+/* This is overridden by generated tcb-offsets.h on arches which need it. */