Guest User

Untitled

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