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:
parent
4f4b032c2b
commit
d12582eb67
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209520
@ -2,3 +2,4 @@
|
||||
. ${srcdir}/emulparams/elf32btsmipn32.sh
|
||||
. ${srcdir}/emulparams/elf_fbsd.sh
|
||||
GENERATE_PIE_SCRIPT=yes
|
||||
ALIGNMENT=8
|
||||
|
@ -2,3 +2,4 @@
|
||||
. ${srcdir}/emulparams/elf32ltsmipn32.sh
|
||||
. ${srcdir}/emulparams/elf_fbsd.sh
|
||||
GENERATE_PIE_SCRIPT=yes
|
||||
ALIGNMENT=8
|
||||
|
Loading…
Reference in New Issue
Block a user