From ae89bf9564c59ea3aee10f175d473e562af793f8 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 26 Jan 2024 12:43:00 +0100 Subject: h-core: update copyright year. add linker json for PEF targets. Signed-off-by: Amlal El Mahrouss --- Linker/16x0.json | 5 +++++ Linker/32x0.json | 5 +++++ Linker/64x0.json | 5 +++++ Linker/PowerPC.ld | 28 ++++++++++++++-------------- 4 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 Linker/16x0.json create mode 100644 Linker/32x0.json create mode 100644 Linker/64x0.json (limited to 'Linker') diff --git a/Linker/16x0.json b/Linker/16x0.json new file mode 100644 index 00000000..4e676a4e --- /dev/null +++ b/Linker/16x0.json @@ -0,0 +1,5 @@ +{ + "executable_type": "kernel", + "output_name": "hCore.out", + "format": "PEF" +} \ No newline at end of file diff --git a/Linker/32x0.json b/Linker/32x0.json new file mode 100644 index 00000000..4e676a4e --- /dev/null +++ b/Linker/32x0.json @@ -0,0 +1,5 @@ +{ + "executable_type": "kernel", + "output_name": "hCore.out", + "format": "PEF" +} \ No newline at end of file diff --git a/Linker/64x0.json b/Linker/64x0.json new file mode 100644 index 00000000..4e676a4e --- /dev/null +++ b/Linker/64x0.json @@ -0,0 +1,5 @@ +{ + "executable_type": "kernel", + "output_name": "hCore.out", + "format": "PEF" +} \ No newline at end of file diff --git a/Linker/PowerPC.ld b/Linker/PowerPC.ld index 18b6527e..722a86b8 100644 --- a/Linker/PowerPC.ld +++ b/Linker/PowerPC.ld @@ -2,20 +2,20 @@ ENTRY(_start) SECTIONS { - . = 0x02000000; - .text BLOCK(4K) : ALIGN(4K) - { - *(.text) - } + . = 0x02000000; + .text BLOCK(4K) : ALIGN(4K) + { + *(.text) + } . = 0x02100000; - .data BLOCK(4K) : ALIGN(4K) - { + .data BLOCK(4K) : ALIGN(4K) + { - *(.rodata) - *(.data) - } - .bss BLOCK(4K) (NOLOAD) : ALIGN(4K) - { - *(.bss) - } + *(.rodata) + *(.data) + } + .bss BLOCK(4K) (NOLOAD) : ALIGN(4K) + { + *(.bss) + } } \ No newline at end of file -- cgit v1.2.3