mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* scripts/gen-as-const.awk: Add cast to long to avoid int promotion
of values on 64-bit platforms which are too large.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-01-18 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* scripts/gen-as-const.awk: Add cast to long to avoid int promotion
|
||||||
|
of values on 64-bit platforms which are too large.
|
||||||
|
|
||||||
2007-01-12 Steven Munroe <sjmunroe@us.ibm.com>
|
2007-01-12 Steven Munroe <sjmunroe@us.ibm.com>
|
||||||
Joe Kerian <jkerian@us.us.ibm.com>
|
Joe Kerian <jkerian@us.us.ibm.com>
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ NF > 1 {
|
|||||||
if (test)
|
if (test)
|
||||||
print " TEST (" name ", \"" FILENAME ":" FNR "\", " $0 ")";
|
print " TEST (" name ", \"" FILENAME ":" FNR "\", " $0 ")";
|
||||||
else
|
else
|
||||||
printf "asm (\"@@@name@@@%s@@@value@@@%%0@@@end@@@\" : : \"i\" (%s));\n",
|
printf "asm (\"@@@name@@@%s@@@value@@@%%0@@@end@@@\" : : \"i\" ((long) %s));\n",
|
||||||
name, $0;
|
name, $0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user