g0mb4

linker.ld

Nov 13th, 2014
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. ENTRY (start)
  2.  
  3. addr = 0x100000;
  4.  
  5. SECTIONS{
  6.     .text addr :
  7.     ALIGN(0x1000) {
  8.         *(.text*);
  9.         *(.rodata*);
  10.     }
  11.    
  12.     .data :
  13.     ALIGN(0x1000) {
  14.         *(.data*);
  15.     }
  16.  
  17.     .bss :
  18.     ALIGN(0x1000) {
  19.         *(.bss*);
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment