]> xenbits.xensource.com Git - seabios.git/commit
build: fix .text section address alignment
authorKevin O'Connor <kevin@koconnor.net>
Sat, 20 Feb 2016 02:34:16 +0000 (21:34 -0500)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Feb 2016 11:53:39 +0000 (12:53 +0100)
commit8a0df37ee2f77a126925dfe9ae1d6a6bd24aad45
tree6e05e2aba4d136a66dbefb007c7cbbcfcfffcb7f
parentb3ef39f532db52bf17457ba931da758eeb38d6b4
build: fix .text section address alignment

Some linkers verify that sections have a start address that is aligned
with the minimum alignment of that section.  Add extra padding to the
".text" section to ensure it is always aligned with the maximum
alignment of any section placed in ".text".

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reported by: Ed Maste <emaste@FreeBSD.org>

(cherry picked from commit 3910de0dee216d5b5bf23cfa29bfc80d082b2ee7)
scripts/layoutrom.py