[fpc-devel] MIPS big-endian program starts but does nothing

Reinier Olislagers reinierolislagers at gmail.com
Sun Sep 7 11:29:47 CEST 2014


On 07/09/2014 11:24, Reinier Olislagers wrote:
> On 06/09/2014 22:38, Sven Barth wrote:
> objdump -x "hellomips" > hellomips_objdump.txt

The output is not that big so repeated below

hellomips:     file format elf32-tradbigmips
hellomips
architecture: mips:isa32r2, flags 0x00000102:
EXEC_P, D_PAGED
start address 0x004000e0

Program Header:
0x70000000 off    0x000000b4 vaddr 0x004000b4 paddr 0x004000b4 align 2**2
         filesz 0x00000018 memsz 0x00000018 flags r--
    LOAD off    0x00000000 vaddr 0x00400000 paddr 0x00400000 align 2**16
         filesz 0x000405f8 memsz 0x000405f8 flags r-x
    LOAD off    0x00040600 vaddr 0x00450600 paddr 0x00450600 align 2**16
         filesz 0x00005500 memsz 0x000076b0 flags rw-
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2
         filesz 0x00000000 memsz 0x00000000 flags rw-
private flags = 70001001: [abi=O32] [mips32r2] [not 32bitmode] [noreorder]

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .reginfo      00000018  004000b4  004000b4  000000b4  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_SAME_SIZE
  1 .text         00040184  004000d0  004000d0  000000d0  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .rodata       000003a0  00440258  00440258  00040258  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .data         00005428  00450600  00450600  00040600  2**4
                  CONTENTS, ALLOC, LOAD, DATA
  4 .got          000000d0  00455a30  00455a30  00045a30  2**4
                  CONTENTS, ALLOC, LOAD, DATA
  5 .sbss         00000014  00455b00  00455b00  00045b00  2**2
                  ALLOC
  6 .bss          00002190  00455b20  00455b20  00045b00  2**4
                  ALLOC
  7 .pdr          00009980  00000000  00000000  00045b00  2**2
                  CONTENTS, READONLY
SYMBOL TABLE:
no symbols






More information about the fpc-devel mailing list