[RS6000] Align .toc section
commitd577ba89642ebb5701d6e2ca7aaf31de2a427794
authorAlan Modra <amodra@gcc.gnu.org>
Wed, 4 May 2016 13:17:51 +0000 (4 22:47 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 4 May 2016 13:17:51 +0000 (4 22:47 +0930)
tree99af9d5e1f698297936c922f6d20d99a26e39c45
parenta793339b732e4a0cd883de9db8698afbcb88bfdf
[RS6000] Align .toc section

Lack of any .toc section alignment causes kexec and kdump failure
when linking without the usual linker script.  This of course is
really a kexec-tools error, but it is also true that .toc ought to
always be word aligned.

* config/rs6000/rs6000.c (rs6000_elf_output_toc_section_asm_op):
Align .toc.

From-SVN: r235874
gcc/ChangeLog
gcc/config/rs6000/rs6000.c