Hi,
I am using TI DM6446 board with the montavista pro 4.0 toolchain.
One of my armv5 based application from third party is getting killed with only message on the console: 'Killed'
I am not getting the reason behind the app crash.
I got the application information as follows:
1)
Command: file <app>
Output: <app> ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, stripped
2)
Command: arm_v5t_le-readelf -a <app>
Output:
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: ARM
Version: 0x1
Entry point address: 0x80d4
Start of program headers: 52 (bytes into file)
Start of section headers: 2486024 (bytes into file)
Flags: 0x5000002, has entry point, <unrecognized EABI>
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 4
Size of section headers: 40 (bytes)
Number of section headers: 4
Section header string table index: 3
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
[ 0] NULL 00000000 000000 000000 00 0 0 0
[ 1] .text PROGBITS 000080d4 0000d4 25ee1c 00 WAX 0 0 1
[ 2] .bss NOBITS 00266ef0 25eef0 2f4110 00 WA 0 0 1
[ 3] .shstrtab STRTAB 00000000 25eef0 000016 00 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)
There are no section groups in this file.
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x00008000 0x00008000 0x25eef0 0x25f000 RWE 0x1000
LOAD 0x001000 0x00267000 0x00267000 0x25d000 0x25d000 RWE 0x1000
LOAD 0x001000 0x004c4000 0x004c4000 0x2c000 0x2c000 RWE 0x1000
LOAD 0x258000 0x004f0000 0x004f0000 0x00000 0x6b000 RW 0x8000
Section to Segment mapping:
Segment Sections...
00 .text
01
02
03
There is no dynamic section in this file.
There are no relocations in this file.
There are no unwind sections in this file.
No version information found in this file.
The application which is working fine on my board has the following output on issuing command : arm_v5t_le-readelf -a <my_app> | grep ABI
OS/ABI: UNIX - System V
ABI Version: 0
Flags: 0x4000002, has entry point, Version4 EABI
[ 2] .note.ABI-tag NOTE 00008148 000148 000020 00 A 0 0 4
03 .interp .note.ABI-tag .note.numapolicy .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .ARM.extab .ARM.exidx .eh_frame
06 .note.ABI-tag
225: 01545a78 44 OBJECT WEAK DEFAULT 26 _ZTVN10__cxxabiv121__vmi_@CXXABI_1.3 (13)
325: 01545aa8 44 OBJECT WEAK DEFAULT 26 _ZTVN10__cxxabiv117__clas@CXXABI_1.3 (13)
477: 000112b0 16 FUNC GLOBAL DEFAULT UND __cxa_end_cleanup@CXXABI_1.3 (13)
517: 01545ad8 44 OBJECT WEAK DEFAULT 26 _ZTVN10__cxxabiv120__si_c@CXXABI_1.3 (13)
541: 000114a8 44 FUNC GLOBAL DEFAULT UND __cxa_pure_virtual@CXXABI_1.3 (13)
613: 000116a0 328 FUNC GLOBAL DEFAULT UND __dynamic_cast@CXXABI_1.3 (13)
674: 00011898 1320 FUNC GLOBAL DEFAULT UND __gxx_personality_v0@CXXABI_1.3 (13)
0e0: 2 (GLIBC_2.4) d (CXXABI_1.3) 1 (*global*) 1 (*global*)
144: 2 (GLIBC_2.4) d (CXXABI_1.3) 1 (*global*) 2 (GLIBC_2.4)
1dc: 2 (GLIBC_2.4) d (CXXABI_1.3) 2 (GLIBC_2.4) 8 (GCC_3.5)
204: 4 (GLIBC_2.4) d (CXXABI_1.3) 2 (GLIBC_2.4) 1 (*global*)
21c: 1 (*global*) d (CXXABI_1.3) 2 (GLIBC_2.4) 6 (GLIBC_2.0)
264: 2 (GLIBC_2.4) d (CXXABI_1.3) 1 (*global*) 9 (GLIBCXX_3.4)
2a0: 8 (GCC_3.5) 4 (GLIBC_2.4) d (CXXABI_1.3) 1 (*global*)
0x0050: Name: CXXABI_1.3 Flags: none Version: 13