PIE binaries & fix currupted framebuffer
This commit is contained in:
@@ -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