Add an alignment of 8 for sections in the n32 ABI. The default alignment

of of 4 causes _end to be word aligned, which will be returned by sbrk.

malloc(3), when compiled for n32, expects sbrk to return an 8-byte aligned
value.

Approved by:	rrs (mentor)
This commit is contained in:
jchandra 2010-06-25 05:07:42 +00:00
parent d732cd62e4
commit a9f1406947
2 changed files with 2 additions and 0 deletions

View File

@ -2,3 +2,4 @@
. ${srcdir}/emulparams/elf32btsmipn32.sh
. ${srcdir}/emulparams/elf_fbsd.sh
GENERATE_PIE_SCRIPT=yes
ALIGNMENT=8

View File

@ -2,3 +2,4 @@
. ${srcdir}/emulparams/elf32ltsmipn32.sh
. ${srcdir}/emulparams/elf_fbsd.sh
GENERATE_PIE_SCRIPT=yes
ALIGNMENT=8