[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH 00/11] static patches
From: |
Blue Swirl |
Subject: |
Re: [Qemu-trivial] [PATCH 00/11] static patches |
Date: |
Sun, 14 Oct 2012 20:06:24 +0000 |
On Sun, Oct 14, 2012 at 7:58 PM, Blue Swirl <address@hidden> wrote:
> I made a small tool to detect unused functions and
> variables. Here's some fixes.
Just run the attached tool in an object directory and after some time,
it will produce a list of suspect symbols:
AES_decrypt ( ./aes.o)
AES_encrypt ( ./aes.o)
AUD_get_elapsed_usec_in ( ./audio/audio.o)
AUD_get_elapsed_usec_out ( ./audio/audio.o)
AUD_init_time_stamp_in ( ./audio/audio.o)
AUD_init_time_stamp_out ( ./audio/audio.o)
AUD_is_active_in ( ./audio/audio.o)
AUD_is_active_out ( ./audio/audio.o)
DEFAULT_ATR ( ./hw/ccid-card-passthru.o)
...
>
> Blue Swirl (11):
> target-sparc: make do_unaligned_access static
> vl.c: add missing static
> vnc: add missing static and remove unused functions
> tap-win32: avoid a warning
> m48t59: remove unused m48t59_set_addr
> sun4c: remove unused functions
> slirp: remove unused function u_sleep
> ppc: add missing static and remove unused functions
> target-ppc: make some functions static
> arm: add missing static and remove unused functions
> exec: make some functions static
>
> console.h | 2 -
> cpu-common.h | 5 -
> exec-all.h | 2 -
> exec-obsolete.h | 4 -
> exec.c | 19 ++-
> hw/adb.c | 8 +-
> hw/adb.h | 4 -
> hw/devices.h | 3 -
> hw/i2c.h | 3 -
> hw/m48t59.c | 7 -
> hw/mac_nvram.c | 24 ---
> hw/nvram.h | 12 --
> hw/omap.h | 1 -
> hw/omap_gpmc.c | 21 ---
> hw/pcmcia.h | 1 -
> hw/ppc.c | 54 +-----
> hw/ppc405.h | 6 -
> hw/ppc405_uc.c | 342
> -------------------------------------
> hw/ppc_mac.h | 2 -
> hw/pxa.h | 3 -
> hw/pxa2xx.c | 4 +-
> hw/pxa2xx_pcmcia.c | 21 ---
> hw/soc_dma.c | 52 ------
> hw/soc_dma.h | 16 +--
> hw/sun4c_intctl.c | 23 ---
> hw/sun4m.h | 4 -
> hw/tc6393xb.c | 16 --
> hw/tmp105.c | 16 --
> linux-user/arm/nwfpe/fpa11.c | 4 +-
> linux-user/arm/nwfpe/fpa11.h | 2 -
> linux-user/arm/nwfpe/fpa11_cprt.c | 8 +-
> net/tap-win32.c | 1 +
> slirp/misc.c | 14 --
> slirp/misc.h | 1 -
> sysemu.h | 5 -
> target-ppc/cpu.h | 9 -
> target-ppc/mmu_helper.c | 11 +-
> target-sparc/cpu.h | 3 -
> target-sparc/ldst_helper.c | 8 +-
> ui/vnc-jobs.c | 46 +-----
> ui/vnc-jobs.h | 4 -
> ui/vnc.c | 14 +-
> ui/vnc.h | 5 -
> vl.c | 33 ++---
> 44 files changed, 69 insertions(+), 774 deletions(-)
>
> --
> 1.7.2.5
>
statics.pl
Description: Perl program
- [Qemu-trivial] [PATCH 01/11] target-sparc: make do_unaligned_access static, (continued)
- [Qemu-trivial] [PATCH 01/11] target-sparc: make do_unaligned_access static, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 02/11] vl.c: add missing static, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 03/11] vnc: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 04/11] tap-win32: avoid a warning, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 05/11] m48t59: remove unused m48t59_set_addr, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 06/11] sun4c: remove unused functions, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 08/11] ppc: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 09/11] target-ppc: make some functions static, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 11/11] exec: make some functions static, Blue Swirl, 2012/10/14
- Re: [Qemu-trivial] [PATCH 00/11] static patches,
Blue Swirl <=
- [Qemu-trivial] [PATCH 07/11] slirp: remove unused function u_sleep, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Peter Maydell, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Peter Maydell, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Peter Maydell, 2012/10/14
- Re: [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Blue Swirl, 2012/10/19