Update all the remaining linker scripts

This commit is contained in:
Gwilym Inzani 2023-10-17 23:52:04 +01:00
parent ce233f7d62
commit 48b9eb3775
16 changed files with 96 additions and 96 deletions

View file

@ -17,18 +17,18 @@ MEMORY {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
}
__text_start = ORIGIN(rom);
SECTIONS {
. = __text_start;
. = ORIGIN(rom);
.entrypoint : {
*(.entrypoint.regular .entrypoint.common);
. = ALIGN(4);
} > rom
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > rom
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -16,18 +16,18 @@ MEMORY {
iwram (w!x) : ORIGIN = 0x03000000, LENGTH = 32K - __bios_reserved_iwram
}
__text_start = ORIGIN(ewram);
SECTIONS {
. = __text_start;
. = ORIGIN(ewram);
.entrypoint : {
*(.entrypoint.multiboot .entrypoint.common);
. = ALIGN(4);
} > ewram
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > ewram
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -17,18 +17,18 @@ MEMORY {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
}
__text_start = ORIGIN(rom);
SECTIONS {
. = __text_start;
. = ORIGIN(rom);
.entrypoint : {
*(.entrypoint.regular .entrypoint.common);
. = ALIGN(4);
} > rom
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > rom
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -16,18 +16,18 @@ MEMORY {
iwram (w!x) : ORIGIN = 0x03000000, LENGTH = 32K - __bios_reserved_iwram
}
__text_start = ORIGIN(ewram);
SECTIONS {
. = __text_start;
. = ORIGIN(ewram);
.entrypoint : {
*(.entrypoint.multiboot .entrypoint.common);
. = ALIGN(4);
} > ewram
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > ewram
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -17,18 +17,18 @@ MEMORY {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
}
__text_start = ORIGIN(rom);
SECTIONS {
. = __text_start;
. = ORIGIN(rom);
.entrypoint : {
*(.entrypoint.regular .entrypoint.common);
. = ALIGN(4);
} > rom
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > rom
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -16,18 +16,18 @@ MEMORY {
iwram (w!x) : ORIGIN = 0x03000000, LENGTH = 32K - __bios_reserved_iwram
}
__text_start = ORIGIN(ewram);
SECTIONS {
. = __text_start;
. = ORIGIN(ewram);
.entrypoint : {
*(.entrypoint.multiboot .entrypoint.common);
. = ALIGN(4);
} > ewram
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > ewram
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -17,18 +17,18 @@ MEMORY {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
}
__text_start = ORIGIN(rom);
SECTIONS {
. = __text_start;
. = ORIGIN(rom);
.entrypoint : {
*(.entrypoint.regular .entrypoint.common);
. = ALIGN(4);
} > rom
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > rom
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -16,18 +16,18 @@ MEMORY {
iwram (w!x) : ORIGIN = 0x03000000, LENGTH = 32K - __bios_reserved_iwram
}
__text_start = ORIGIN(ewram);
SECTIONS {
. = __text_start;
. = ORIGIN(ewram);
.entrypoint : {
*(.entrypoint.multiboot .entrypoint.common);
. = ALIGN(4);
} > ewram
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > ewram
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -17,18 +17,18 @@ MEMORY {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
}
__text_start = ORIGIN(rom);
SECTIONS {
. = __text_start;
. = ORIGIN(rom);
.entrypoint : {
*(.entrypoint.regular .entrypoint.common);
. = ALIGN(4);
} > rom
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > rom
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -16,18 +16,18 @@ MEMORY {
iwram (w!x) : ORIGIN = 0x03000000, LENGTH = 32K - __bios_reserved_iwram
}
__text_start = ORIGIN(ewram);
SECTIONS {
. = __text_start;
. = ORIGIN(ewram);
.entrypoint : {
*(.entrypoint.multiboot .entrypoint.common);
. = ALIGN(4);
} > ewram
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > ewram
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -17,18 +17,18 @@ MEMORY {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
}
__text_start = ORIGIN(rom);
SECTIONS {
. = __text_start;
. = ORIGIN(rom);
.entrypoint : {
*(.entrypoint.regular .entrypoint.common);
. = ALIGN(4);
} > rom
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > rom
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -17,18 +17,18 @@ MEMORY {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
}
__text_start = ORIGIN(rom);
SECTIONS {
. = __text_start;
. = ORIGIN(rom);
.entrypoint : {
*(.entrypoint.regular .entrypoint.common);
. = ALIGN(4);
} > rom
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > rom
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -16,18 +16,18 @@ MEMORY {
iwram (w!x) : ORIGIN = 0x03000000, LENGTH = 32K - __bios_reserved_iwram
}
__text_start = ORIGIN(ewram);
SECTIONS {
. = __text_start;
. = ORIGIN(ewram);
.entrypoint : {
*(.entrypoint.multiboot .entrypoint.common);
. = ALIGN(4);
} > ewram
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > ewram
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -17,18 +17,18 @@ MEMORY {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
}
__text_start = ORIGIN(rom);
SECTIONS {
. = __text_start;
. = ORIGIN(rom);
.entrypoint : {
*(.entrypoint.regular .entrypoint.common);
. = ALIGN(4);
} > rom
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > rom
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -16,18 +16,18 @@ MEMORY {
iwram (w!x) : ORIGIN = 0x03000000, LENGTH = 32K - __bios_reserved_iwram
}
__text_start = ORIGIN(ewram);
SECTIONS {
. = __text_start;
. = ORIGIN(ewram);
.entrypoint : {
*(.entrypoint.multiboot .entrypoint.common);
. = ALIGN(4);
} > ewram
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > ewram
__text_end = .;
.rodata : {
*(.rodata .rodata.*);

View file

@ -17,18 +17,18 @@ MEMORY {
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
}
__text_start = ORIGIN(rom);
SECTIONS {
. = __text_start;
. = ORIGIN(rom);
.entrypoint : {
*(.entrypoint.regular .entrypoint.common);
. = ALIGN(4);
} > rom
.text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*);
. = ALIGN(4);
} > rom
__text_end = .;
.rodata : {
*(.rodata .rodata.*);