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:
Jayachandran C. 2010-06-25 05:07:42 +00:00
parent 4f4b032c2b
commit d12582eb67
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209520
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