Simon Glass
22f87ef530
malloc: Avoid defining calloc()
...
The C runtime calls malloc() before starting main(), e.g. to get some
memory to use for dynamic linking.
If CONFIG_TPL_SYS_MALLOC_SIMPLE is enabled, the calloc() symbol is
defined within U-Boot. The C runtime may call that too.
Use the same #define technique as for malloc_simple(), to fix a crash
on my machine when running:
/tmp/b/sandbox_vpl/tpl/u-boot-tpl -D
This does not happen in CI, perhaps because the C runtime uses malloc()
instead of calloc().
Signed-off-by: Simon Glass <sjg@chromium.org >
2025-08-20 07:41:19 -06:00
..
2025-07-11 21:12:11 +02:00
2025-05-29 17:21:36 +01:00
2025-05-27 05:16:31 +01:00
2025-08-05 11:49:30 -06:00
2025-07-09 23:33:26 +02:00
2025-06-12 19:43:54 +00:00
2025-06-30 07:01:41 -06:00
2025-05-16 17:58:51 +02:00
2025-05-29 19:06:30 +01:00
2025-06-12 19:43:54 +00:00
2025-06-27 07:50:11 -06:00
2025-08-08 16:59:10 -06:00
2025-05-29 19:06:29 +01:00
2025-08-04 14:40:00 -06:00
2025-08-19 17:36:44 -06:00
2025-08-09 12:04:29 -06:00
2025-07-28 13:06:51 +12:00
2025-07-12 14:29:06 +02:00
2025-07-09 23:26:02 +02:00
2025-08-14 07:45:25 -06:00
2025-05-28 08:01:43 +01:00
2025-08-08 16:59:10 -06:00
2025-06-30 14:28:08 -06:00
2025-08-14 07:45:25 -06:00
2025-06-28 12:30:56 -06:00
2025-08-19 17:36:44 -06:00
2025-08-19 17:36:44 -06:00
2025-06-05 13:59:50 -06:00
2025-06-28 07:53:25 -06:00
2025-08-04 14:40:00 -06:00
2025-06-28 07:53:25 -06:00
2025-05-16 14:45:25 +02:00
2025-05-29 17:21:36 +01:00
2025-06-28 12:30:56 -06:00
2025-06-28 12:30:56 -06:00
2025-06-30 11:57:41 -06:00
2025-06-28 12:30:56 -06:00
2025-07-12 14:29:06 +02:00
2025-05-29 19:06:30 +01:00
2025-08-08 16:53:16 -06:00
2025-08-11 15:01:27 -06:00
2025-05-27 10:10:06 +01:00
2025-07-09 23:26:02 +02:00
2025-06-02 12:54:50 -06:00
2025-05-29 17:21:36 +01:00
2025-05-16 14:45:25 +02:00
2025-06-28 12:30:56 -06:00
2025-08-20 07:41:19 -06:00
2025-05-16 14:45:25 +02:00
2025-05-16 17:58:51 +02:00
2025-06-28 12:30:56 -06:00
2025-07-02 12:45:23 -06:00
2025-05-29 17:21:36 +01:00
2025-08-11 10:02:16 -06:00
2025-07-09 23:33:25 +02:00
2025-07-02 13:43:05 -06:00
2025-05-16 14:45:25 +02:00
2025-08-18 14:00:19 -06:00
2025-05-16 14:01:12 +02:00
2025-08-18 14:00:19 -06:00
2025-05-29 17:21:36 +01:00
2025-06-28 12:30:56 -06:00
2025-05-16 14:01:12 +02:00
2025-06-04 15:07:08 -06:00
2025-05-16 14:00:26 +02:00
2025-05-16 14:00:26 +02:00
2025-05-16 18:17:17 +02:00
2025-08-04 14:40:00 -06:00
2025-06-05 13:59:50 -06:00
2025-06-30 08:35:17 -06:00
2025-07-09 23:33:26 +02:00