Skip to content

Instantly share code, notes, and snippets.

@the6p4c
Created July 15, 2019 12:54
Show Gist options
  • Save the6p4c/df6bbe846dc982c445050ffaf6223171 to your computer and use it in GitHub Desktop.
Save the6p4c/df6bbe846dc982c445050ffaf6223171 to your computer and use it in GitHub Desktop.
/* !heavily! work in progress */
MEMORY {
ram (rwx) : org = 0x00000000, l = 64K
user (rx) : org = 0xFFF80000, l = 512K
}
SECTIONS {
.text : {
*(.text)
*(.text*)
*(.rodata)
*(.rodata*)
} > user
.vector_table 0xFFFFFF80 : {
*(.vector_table)
} > user
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment