summaryrefslogtreecommitdiffstats
path: root/hw/rtc/goldfish_rtc.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-03-05 02:04:45 +0100
committerLaurent Vivier2020-03-09 15:59:31 +0100
commitda5cf9a4fef1e04608501605b4697f39ea56e0ea (patch)
tree604d0d703b923de16e7b78922ff1dc264cb2dfc1 /hw/rtc/goldfish_rtc.c
parenthw/net/e1000: Add readops/writeops typedefs (diff)
downloadqemu-da5cf9a4fef1e04608501605b4697f39ea56e0ea.tar.gz
qemu-da5cf9a4fef1e04608501605b4697f39ea56e0ea.tar.xz
qemu-da5cf9a4fef1e04608501605b4697f39ea56e0ea.zip
hw/net/e1000: Move macreg[] arrays to .rodata to save 1MiB of .data
Each array consumes 256KiB of .data. As we do not reassign entries, we can move it to the .rodata section, and save a total of 1MiB of .data (size reported on x86_64 host). Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Dmitry Fleytman <dmitry.fleytman@gmail.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Message-Id: <20200305010446.17029-3-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/rtc/goldfish_rtc.c')
0 files changed, 0 insertions, 0 deletions