[<<][c][>>][..]
Tue Sep 7 09:25:35 CEST 2010

Linker sections on AT91SAM7X512 (ARM7TDMI, 128k RAM, 512k Flash)

The output of objdump (reformatted):

tom@one:~/$ objdump -h app.elf 

app.elf:     file format elf32-little

Sections:
Idx Name            Size      VMA       LMA       File off  Algn
  0 .debug_aranges  000021f8  00000000  00000000  00030e30  2**3  CONTENTS, READONLY, DEBUGGING
  1 .debug_pubnames 00006976  00000000  00000000  00033028  2**0  CONTENTS, READONLY, DEBUGGING
  2 .debug_info     0007fbd5  00000000  00000000  0003999e  2**0  CONTENTS, READONLY, DEBUGGING
  3 .debug_abbrev   00014342  00000000  00000000  000b9573  2**0  CONTENTS, READONLY, DEBUGGING
  4 .debug_line     00017cc3  00000000  00000000  000cd8b5  2**0  CONTENTS, READONLY, DEBUGGING
  5 .debug_frame    000062f4  00000000  00000000  000e5578  2**2  CONTENTS, READONLY, DEBUGGING
  6 .debug_str      0000f462  00000000  00000000  000eb86c  2**0  CONTENTS, READONLY, DEBUGGING
  7 .debug_loc      0001b6ee  00000000  00000000  000facce  2**0  CONTENTS, READONLY, DEBUGGING
  8 .rom_vectors    00000040  00100000  00100000  00008000  2**0  CONTENTS, ALLOC, LOAD, READONLY, CODE
  9 .text           0001e790  00100040  00100040  00008040  2**2  CONTENTS, ALLOC, LOAD, READONLY, CODE
 10 .rodata         00002580  0011e7d0  0011e7d0  000267d0  2**3  CONTENTS, ALLOC, LOAD, READONLY, DATA
 11 .got            00000228  00120d50  00120d50  00028d50  2**2  CONTENTS, ALLOC, LOAD, DATA
 12 .fixed_vectors  00000140  00200040  00200040  001163c0  2**5  CONTENTS, READONLY
 13 .data           00000cac  00200180  00120f78  00030180  2**3  CONTENTS, ALLOC, LOAD, CODE
 14 .bss            0001140c  00200e2c  00121c24  00030e2c  2**4  ALLOC
 15 .ARM.attributes 0000002c  00000000  00000000  00116500  2**0  CONTENTS, READONLY
 16 .debug_ranges   000073e0  00000000  00000000  00116530  2**3  CONTENTS, READONLY, DEBUGGING
 17 .comment        00001784  00000000  00000000  0011d910  2**0  CONTENTS, READONLY


VMA = virtual memory area
LMA = ???

00100000 Flash
00200000 RAM

00000000 Remappable Flash/RAM   

Some sections start at 0 but this seems to be a dummy value, i.e. for DEBUGGING.



[Reply][About]
[<<][c][>>][..]