HardenedBSD/gnu/usr.bin/binutils/ld/elf32ltsmipn32_fbsd.sh
Jayachandran C. d12582eb67 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)
2010-06-25 05:07:42 +00:00

6 lines
124 B
Bash
Executable File

# $FreeBSD$
. ${srcdir}/emulparams/elf32ltsmipn32.sh
. ${srcdir}/emulparams/elf_fbsd.sh
GENERATE_PIE_SCRIPT=yes
ALIGNMENT=8