diff options
-rw-r--r-- | extra/scripts/gen-as-const.awk | 2 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/pthread/tcb-offsets.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/extra/scripts/gen-as-const.awk b/extra/scripts/gen-as-const.awk index f9ec31672..013bd6e85 100644 --- a/extra/scripts/gen-as-const.awk +++ b/extra/scripts/gen-as-const.awk @@ -26,7 +26,7 @@ NF == 1 { sub(/^.*$/, "& &"); } 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; } diff --git a/libpthread/nptl/sysdeps/pthread/tcb-offsets.h b/libpthread/nptl/sysdeps/pthread/tcb-offsets.h new file mode 100644 index 000000000..3fe13702e --- /dev/null +++ b/libpthread/nptl/sysdeps/pthread/tcb-offsets.h @@ -0,0 +1 @@ +/* This is overridden by generated tcb-offsets.h on arches which need it. */ |