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
d732cd62e4
commit
a9f1406947
@ -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