We should never end up executing the inter-function padding, so we are better off faulting than silently carrying on to whatever function happens to be next. Note that LLD will soon do this by default (although it currently pads with zeros). Reviewed by: dim, kib MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D10047
15 lines
327 B
Bash
15 lines
327 B
Bash
SCRIPT_NAME=elf
|
|
OUTPUT_FORMAT="elf32-i386"
|
|
TEXT_START_ADDR=0x08048000
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
|
NONPAGED_TEXT_START_ADDR=0x08048000
|
|
ARCH=i386
|
|
MACHINE=
|
|
NOP=0xCCCCCCCC
|
|
TEMPLATE_NAME=elf32
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
GENERATE_PIE_SCRIPT=yes
|
|
NO_SMALL_DATA=yes
|
|
SEPARATE_GOTPLT=12
|