]> xenbits.xensource.com Git - livepatch-build-tools.git/commit
Bundle .data.rel.ro. and .data.rel.ro.local. sections
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Fri, 13 Nov 2015 08:27:02 +0000 (08:27 +0000)
committerRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 20 Jan 2016 13:48:25 +0000 (13:48 +0000)
commite557a34aeabad05a1ba37afb078f79b287631458
tree3b9506703fbcd226ab685b4c1400c80ddf61d6fd
parent9867d245e01b77a8babec961e5721c3f1385a7c1
Bundle .data.rel.ro. and .data.rel.ro.local. sections

.data.rel.ro(.local). sections are (local) read only data sections with
relocations.

For example:
static const struct hvm_mmio_handler *const
hvm_mmio_handlers[HVM_MMIO_HANDLER_NR] =
{
    &hpet_mmio_handler,
    &vlapic_mmio_handler,
    &vioapic_mmio_handler,
    &msixtbl_mmio_handler,
    &iommu_mmio_handler
};

Allow these sections to be bundled so that section symbols can be
replaced with normal symbols, preventing them from being needlessly
included.
common.c