summaryrefslogtreecommitdiffstats
path: root/scripts/link-vmlinux.sh
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2017-03-07 17:31:08 -0800
committerJessica Yu <jeyu@redhat.com>2017-03-13 09:40:28 -0700
commit5bd933fe4481688d595ae1dd0440006c8675a1a8 (patch)
tree75ab5a3e711bdf87db41e96b70885e061d2f0816 /scripts/link-vmlinux.sh
parent4495c08e84729385774601b5146d51d9e5849f81 (diff)
downloadop-kernel-dev-5bd933fe4481688d595ae1dd0440006c8675a1a8.zip
op-kernel-dev-5bd933fe4481688d595ae1dd0440006c8675a1a8.tar.gz
module: set .init_array alignment to 8
The proper idiom for aligning linker sections in modules is different than for built-in sections. ". = ALIGN();" followed by a forced output address of 0 does nothing, as forcing the address changes the value of ".". Use output section alignment specifier instead. Fixes: 9ddf82521c86 ("kernel: add support for .init_array.* constructors") Reviewed-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: Jessica Yu <jeyu@redhat.com>
Diffstat (limited to 'scripts/link-vmlinux.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud