mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
i386/loader: force 4k linker max page size
Force the BIOS loaders to use the standard 4k linker max page size so that they fit in the limited space even if someone has set a larger default linker max page size via /etc/src.conf. Reviewed by: imp Sponsored by: Netflix
This commit is contained in:
parent
a335a52eed
commit
91d8ee3579
1 changed files with 4 additions and 0 deletions
|
|
@ -140,6 +140,10 @@ FILESMODE_${LOADER}= ${BINMODE} -b
|
|||
# files.
|
||||
LDFLAGS+= ${BTXCRT}
|
||||
|
||||
# Force the linker max page size to 4k so that we fit in the limited space even
|
||||
# if someone has set a larger default linker max page size via /etc/src.conf.
|
||||
LDFLAGS+= -Wl,-z,max-page-size=0x1000
|
||||
|
||||
DPADD= ${LDR_INTERP32} ${LIBI386} ${LIBSA32}
|
||||
LDADD= ${LDR_INTERP32} ${LIBI386} ${LIBSA32}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue