Back to home page

LXR

 
 

    


Warning, /spec/build/bsps/x86_64/amd64/optldpagesize.yml is written in an unsupported language. File is not indexed.

0001 SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
0002 actions:
0003 - get-integer: null
0004 - assert-uint32: null
0005 - env-assign: null
0006 - set-value: -Wl,-z,max-page-size=${LD_MAX_PAGE_SIZE:#010x}
0007 - substitute: null
0008 - env-append: LDFLAGS
0009 - env-append: PKGCONFIG_LDFLAGS
0010 build-type: option
0011 copyrights:
0012 - Copyright (C) 2023 Karel Gardas
0013 default:
0014 - enabled-by: true
0015   value: 4096
0016 description: |
0017   Set the value of max-page-size parameter for the GNU linker.
0018   By default on x86_64 the linker is using 2MB page size which is
0019   too big for creating correctly formed and later recognized multiboot2
0020   binaries. Default value 4k used here is working well for the purpose.
0021 enabled-by: true
0022 format: '{:#010x}'
0023 links: []
0024 name: LD_MAX_PAGE_SIZE
0025 type: build