mirror of
https://github.com/LegitCamper/picocalc-os-rs.git
synced 2026-10-22 22:57:36 -06:00
PIE binaries & fix currupted framebuffer
This commit is contained in:
1 parent
07b4905a06
commit
180d9e82d2
11 files changed
+223
-131
No files matched your search
+8
-10
@@ -1,19 +1,10 @@
|
||||
MEMORY
|
||||
{
|
||||
/* Must match the USERAPP region in the kernel linker script */
|
||||
RAM : ORIGIN = 0x20010000, LENGTH = 192K
|
||||
RAM : ORIGIN = 0x0, LENGTH = 100K
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/* Reserve first 1KB for patchable symbols */
|
||||
.user_reloc (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
__user_reloc_start = .;
|
||||
KEEP(*(.user_reloc*));
|
||||
__user_reloc_end = .;
|
||||
} > RAM
|
||||
|
||||
.text : ALIGN(4)
|
||||
{
|
||||
*(.text .text.*);
|
||||
@@ -30,4 +21,11 @@ SECTIONS
|
||||
*(.bss .bss.*);
|
||||
*(COMMON);
|
||||
} > RAM
|
||||
|
||||
.syscall_table (NOLOAD) : ALIGN(4)
|
||||
{
|
||||
__user_reloc_start = .;
|
||||
KEEP(*(.user_reloc*));
|
||||
__user_reloc_end = .;
|
||||
} > RAM
|
||||
}
|
||||
Reference in new issue
Block a user