Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SEARCH_DIR(.)
- ENTRY(main)
- EXTERN(main)
- PHDRS
- {
- rx PT_LOAD;
- rwx PT_LOAD;
- rw PT_LOAD;
- }
- SECTIONS
- {
- . = 0x60000000;
- .text : {
- * (.text)
- } : rx
- .rodata : {
- * (.rodata)
- * (.rodata.*)
- } : rx
- .stack (NOLOAD) : {
- * (.stack)
- _stackbegin = .;
- stackbegin = .;
- . += 0x2000;
- _stackend = .;
- stackend = .;
- _irqstackbegin = .;
- . += 0x400;
- _irqstackend = .;
- _fiqstackbegin = .;
- . += 0x400;
- _fiqstackend = .;
- }
- .data ALIGN(0x1000) : {
- * (.data)
- } : rw
- .bss : {
- * (.bss)
- } : rw
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement