mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-16 19:04:53 +08:00
powerpc/mvme5100: Add linkcmd file with high origin
Add a linkcmd file that starts at a high memory region for linking applications with generic bootloaders
This commit is contained in:
1 parent
8aa6645739
commit
3c0e1be44d
9 files changed
+414
-300
No files matched your search
@@ -0,0 +1,48 @@
|
||||
/* SPDX-License-Identifier: BSD-2-Clause */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2026 UChicago Argonne LLC,
|
||||
* as operator of Argonne National Laboratory
|
||||
* Author: Vijay Banerjee <vijay@rtems.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
INPUT(vectors_entry.o)
|
||||
STARTUP(start.o)
|
||||
ENTRY(__rtems_entry_point)
|
||||
EXTERN(_vectors)
|
||||
|
||||
bsp_section_small_data_area_size = 65536;
|
||||
|
||||
OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
|
||||
"elf32-powerpc")
|
||||
OUTPUT_ARCH(powerpc)
|
||||
|
||||
/* Do we need any of these for elf?
|
||||
__DYNAMIC = 0; */
|
||||
MEMORY {
|
||||
VECTORS : ORIGIN = 0x0 , LENGTH = 0x3000
|
||||
CODE : ORIGIN = 0x1000000 , LENGTH = 32M
|
||||
}
|
||||
|
||||
INCLUDE linkcmds.share_sections
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -29,6 +29,7 @@ install:
|
||||
source:
|
||||
- bsps/powerpc/beatnik/start/linkcmds
|
||||
- bsps/powerpc/shared/start/linkcmds.share
|
||||
- bsps/powerpc/shared/start/linkcmds.share_sections
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: ../../obj
|
||||
|
||||
@@ -19,6 +19,7 @@ install:
|
||||
source:
|
||||
- bsps/powerpc/motorola_powerpc/start/linkcmds
|
||||
- bsps/powerpc/shared/start/linkcmds.share
|
||||
- bsps/powerpc/shared/start/linkcmds.share_sections
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: ../../optconsolebaud
|
||||
|
||||
@@ -20,6 +20,7 @@ install:
|
||||
source:
|
||||
- bsps/powerpc/mvme2100/start/linkcmds
|
||||
- bsps/powerpc/shared/start/linkcmds.share
|
||||
- bsps/powerpc/shared/start/linkcmds.share_sections
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: ../../optconsolebaud
|
||||
|
||||
@@ -19,6 +19,7 @@ install:
|
||||
source:
|
||||
- bsps/powerpc/mvme2700/start/linkcmds
|
||||
- bsps/powerpc/shared/start/linkcmds.share
|
||||
- bsps/powerpc/shared/start/linkcmds.share_sections
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: ../../optconsolebaud
|
||||
|
||||
@@ -23,6 +23,7 @@ install:
|
||||
source:
|
||||
- bsps/powerpc/mvme3100/start/linkcmds
|
||||
- bsps/powerpc/shared/start/linkcmds.share
|
||||
- bsps/powerpc/shared/start/linkcmds.share_sections
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: ../../obj
|
||||
|
||||
@@ -20,6 +20,8 @@ install:
|
||||
source:
|
||||
- bsps/powerpc/mvme5100/start/linkcmds
|
||||
- bsps/powerpc/shared/start/linkcmds.share
|
||||
- bsps/powerpc/shared/start/linkcmds.share_sections
|
||||
- bsps/powerpc/mvme5100/start/linkcmds.highmem
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: ../../optconsolebaud
|
||||
|
||||
Reference in new issue
Block a user