Warning, /spec/build/bsps/aarch64/raspberrypi/linkercmds.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 build-type: config-file
0003 content: |
0004 /* SPDX-License-Identifier: BSD-2-Clause */
0005
0006 /*
0007 * Copyright (C) 2022 Mohd Noor Aman
0008 *
0009 * Redistribution and use in source and binary forms, with or without
0010 * modification, are permitted provided that the following conditions
0011 * are met:
0012 * 1. Redistributions of source code must retain the above copyright
0013 * notice, this list of conditions and the following disclaimer.
0014 * 2. Redistributions in binary form must reproduce the above copyright
0015 * notice, this list of conditions and the following disclaimer in the
0016 * documentation and/or other materials provided with the distribution.
0017 *
0018 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
0019 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
0020 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
0021 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
0022 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
0023 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
0024 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
0025 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
0026 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
0027 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
0028 * POSSIBILITY OF SUCH DAMAGE.
0029 */
0030
0031 MEMORY {
0032 RAM_MMU : ORIGIN = 0x0, LENGTH = (0x1000 * ${AARCH64_MMU_TRANSLATION_TABLE_PAGES})
0033 RAM : ORIGIN = 0x80000, LENGTH = 1024M
0034 }
0035
0036 REGION_ALIAS ("REGION_START", RAM);
0037 REGION_ALIAS ("REGION_VECTOR", RAM);
0038 REGION_ALIAS ("REGION_TEXT", RAM);
0039 REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
0040 REGION_ALIAS ("REGION_RODATA", RAM);
0041 REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
0042 REGION_ALIAS ("REGION_DATA", RAM);
0043 REGION_ALIAS ("REGION_DATA_LOAD", RAM);
0044 REGION_ALIAS ("REGION_FAST_TEXT", RAM);
0045 REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
0046 REGION_ALIAS ("REGION_FAST_DATA", RAM);
0047 REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
0048 REGION_ALIAS ("REGION_BSS", RAM);
0049 REGION_ALIAS ("REGION_WORK", RAM);
0050 REGION_ALIAS ("REGION_STACK", RAM);
0051 REGION_ALIAS ("REGION_NOCACHE", RAM);
0052 REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM);
0053
0054 bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
0055
0056 bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
0057
0058 bsp_stack_exception_size = DEFINED (bsp_stack_exception_size) ? bsp_stack_exception_size : 1024;
0059
0060 bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
0061
0062 bsp_vector_table_in_start_section = 1;
0063 bsp_translation_table_base = ORIGIN (RAM_MMU);
0064 bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
0065
0066 OUTPUT_FORMAT ("elf64-littleaarch64")
0067 OUTPUT_ARCH (aarch64)
0068
0069 INCLUDE linkcmds.base
0070 copyrights:
0071 - Copyright (C) 2022 Mohd Noor Aman
0072 enabled-by: true
0073 install-path: ${BSP_LIBDIR}
0074 links: []
0075 target: linkcmds
0076 type: build