Denys Vlasenko
2cbfd01c15
seedrng: code shrink
Struct initializers do this double init:
># util-linux/seedrng.c:88: struct pollfd random_fd = {
movl $0, 132(%esp) #, random_fd
movl $0, 136(%esp) #, random_fd
...
># util-linux/seedrng.c:88: struct pollfd random_fd = {
movl %eax, 140(%esp) # _110, random_fd.fd
movw $1, 144(%esp) #, random_fd.events
and close(random_fd.fd) needs to pull the item from the stack:
pushl 132(%esp) # random_fd.fd
call close #
function old new delta
seedrng_main 1076 1050 -26
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2022-04-30 15:38:44 +02:00
..
2020-11-30 13:03:03 +01:00
2020-11-30 13:03:03 +01:00
2021-09-10 00:20:05 +02:00
2020-08-13 17:12:56 +02:00
2021-06-16 17:00:56 +02:00
2022-01-04 23:31:58 +01:00
2022-01-04 23:31:58 +01:00
2018-06-06 15:16:48 +02:00
2021-06-14 20:47:20 +02:00
2020-08-13 17:12:56 +02:00
2018-12-28 03:20:17 +01:00
2020-08-13 17:12:56 +02:00
2021-10-10 13:50:53 +02:00
2020-08-13 17:12:56 +02:00
2019-10-04 17:16:15 +02:00
2021-02-03 20:52:40 +01:00
2022-01-05 22:16:06 +01:00
2020-11-30 13:03:03 +01:00
2021-10-10 14:32:05 +02:00
2022-01-06 10:55:53 +01:00
2020-08-13 17:12:56 +02:00
2021-06-13 03:51:55 +02:00
2020-08-13 17:12:56 +02:00
2022-01-05 22:16:06 +01:00
2020-08-13 17:12:56 +02:00
2020-12-13 22:34:05 +01:00
2021-09-16 01:09:32 +02:00
2022-01-04 23:31:58 +01:00
2022-02-06 19:53:10 +01:00
2020-12-30 23:48:01 +01:00
2021-06-17 13:45:13 +02:00
2018-12-28 03:20:17 +01:00
2022-01-04 23:31:58 +01:00
2022-01-04 23:31:58 +01:00
2022-01-04 23:31:58 +01:00
2020-10-01 00:31:11 +02:00
2020-10-01 21:52:16 +02:00
2020-10-01 21:52:16 +02:00
2021-10-08 14:30:50 +02:00
2019-07-02 11:35:03 +02:00
2020-11-30 13:03:03 +01:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2022-01-23 23:07:07 +01:00
2020-12-14 18:54:30 +01:00
2018-12-28 03:20:17 +01:00
2021-10-08 02:20:10 +02:00
2021-06-13 03:51:55 +02:00
2020-06-24 15:05:22 +02:00
2022-02-06 19:53:10 +01:00
2020-08-13 17:12:56 +02:00
2020-12-16 21:36:36 +01:00
2018-12-28 03:20:17 +01:00
2021-06-13 03:51:55 +02:00
2021-06-15 10:00:18 +02:00
2021-08-22 00:08:18 +02:00
2020-12-17 20:53:43 +01:00
2020-12-30 23:48:01 +01:00
2018-12-28 03:20:17 +01:00
2022-04-30 15:38:44 +02:00
2020-08-13 17:12:56 +02:00
2020-12-18 04:12:51 +01:00
2018-12-28 03:20:17 +01:00
2020-08-13 17:12:56 +02:00
2021-06-24 17:54:11 +02:00
2022-03-01 10:49:17 +01:00
2020-12-18 04:12:51 +01:00
2020-12-13 22:34:05 +01:00
2022-02-06 19:53:10 +01:00
2018-12-28 03:20:17 +01:00