Daniel Bertalan
b23edd418c
LibC: Fix inttypes.h macros for x86-64 and extend them
...
On x86-64, `int64_t` is defined to be `long` (not `long long`) , so for
printing, the "l" format specifier has to be used instead of i686's
"ll".
A couple of these macros weren't updated when the x86-64 target was
added, so using them produced warnings like this:
> warning: format specifies type 'long long' but the argument has type
> 'int64_t' (aka 'long') [-Wformat]
>
> "DW_CFA_GNU_negative_offset_extended(%" PRId64 ")\n", offset);
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
This commit changes the macros to be correct for both architectures, and
reorders them to be consistent and adds a couple missing ones for the
sake of completeness.
2022-03-28 22:24:05 +04:30
..
2021-12-24 05:26:21 -08:00
2022-03-08 23:05:44 +01:00
2022-03-28 10:38:02 -07:00
2022-01-08 19:22:00 +01:00
2022-03-02 11:40:37 +01:00
2022-03-22 20:26:05 +01:00
2021-12-18 21:01:10 -08:00
2021-12-23 17:53:46 -08:00
2022-01-23 12:48:26 +00:00
2022-01-23 15:21:10 +01:00
2021-11-11 09:20:35 +01:00
2022-01-16 11:18:04 +01:00
2021-12-28 11:00:51 +01:00
2022-02-11 18:07:53 +01:00
2022-01-08 20:10:58 +01:00
2021-12-16 22:21:35 +03:30
2022-03-06 13:00:42 +01:00
2022-01-07 15:44:42 +01:00
2022-01-08 19:22:00 +01:00
2021-11-11 01:27:46 +01:00
2021-12-16 22:21:35 +03:30
2022-01-08 19:22:00 +01:00
2021-12-22 00:02:36 -08:00
2021-12-22 00:02:36 -08:00
2022-03-28 22:24:05 +04:30
2022-03-18 23:48:50 +00:00
2022-01-23 15:21:10 +01:00
2022-01-25 18:39:36 +00:00
2022-01-08 19:22:00 +01:00
2022-03-02 11:40:37 +01:00
2022-03-02 11:40:37 +01:00
2022-01-13 18:46:22 +01:00
2022-01-07 18:38:32 +01:00
2021-12-28 11:00:51 +01:00
2022-02-16 12:03:05 +01:00
2022-01-08 19:22:00 +01:00
2021-12-21 18:16:48 -08:00
2022-01-08 19:22:00 +01:00
2021-12-21 18:16:48 -08:00
2022-02-05 00:09:32 +01:00
2022-02-20 00:13:08 +03:30
2021-12-21 18:16:48 -08:00
2022-01-08 19:22:00 +01:00
2022-01-13 18:46:22 +01:00
2022-02-19 11:37:02 +01:00
2022-02-28 20:28:01 -08:00
2021-12-24 05:26:21 -08:00
2022-01-08 19:22:00 +01:00
2021-12-21 18:16:48 -08:00
2022-03-04 20:07:05 +01:00
2022-01-07 15:44:42 +01:00
2022-01-12 14:54:12 +01:00
2022-02-28 20:28:01 -08:00
2022-03-28 10:38:02 -07:00
2022-03-28 10:38:02 -07:00
2022-02-12 12:16:59 +01:00
2022-03-22 20:26:05 +01:00
2022-03-02 18:08:05 +01:00
2022-03-13 19:08:58 -07:00
2022-03-13 19:08:58 -07:00
2021-12-21 18:16:48 -08:00
2021-12-29 03:17:41 -08:00
2021-12-29 03:17:41 -08:00
2022-03-18 23:48:50 +00:00
2022-01-08 19:22:00 +01:00
2022-02-28 20:09:37 +01:00
2022-03-27 16:43:05 -07:00
2022-01-11 11:47:48 +01:00
2021-12-21 21:24:36 +03:30
2022-03-19 00:11:45 +00:00
2022-03-20 08:40:36 -04:00