Guest User

Untitled

a guest
Mar 12th, 2013
65
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SEARCH_DIR(.)
  2. ENTRY(main)
  3. EXTERN(main)
  4.  
  5. PHDRS
  6. {
  7. rx PT_LOAD;
  8. rwx PT_LOAD;
  9. rw PT_LOAD;
  10. }
  11.  
  12. SECTIONS
  13. {
  14. . = 0x60000000;
  15.  
  16. .text : {
  17. * (.text)
  18. } : rx
  19.  
  20. .rodata : {
  21. * (.rodata)
  22. * (.rodata.*)
  23. } : rx
  24.  
  25. .stack (NOLOAD) : {
  26. * (.stack)
  27. _stackbegin = .;
  28. stackbegin = .;
  29. . += 0x2000;
  30. _stackend = .;
  31. stackend = .;
  32. _irqstackbegin = .;
  33. . += 0x400;
  34. _irqstackend = .;
  35. _fiqstackbegin = .;
  36. . += 0x400;
  37. _fiqstackend = .;
  38. }
  39.  
  40. .data ALIGN(0x1000) : {
  41. * (.data)
  42. } : rw
  43.  
  44. .bss : {
  45. * (.bss)
  46. } : rw
  47. }
RAW Paste Data