diff options
Diffstat (limited to 'Linker')
| -rw-r--r-- | Linker/16x0.json | 5 | ||||
| -rw-r--r-- | Linker/32x0.json | 5 | ||||
| -rw-r--r-- | Linker/64x0.json | 5 | ||||
| -rw-r--r-- | Linker/PowerPC.ld | 28 |
4 files changed, 29 insertions, 14 deletions
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 |
