elf header for arm processor
Hi,
I am using arm-linux-gnueabihf-gcc cross compiler for building an application for arm cortex a9 board(spear1310)on windows host machine.It is an precompiled toolchain downloaded from the linaro website. When i generate an .elf file OS/ABI flag value is coming as 0(zero). ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 As I am compiling for ARM OS/ABI flag value should come as 61 . ELF Header: Magic: 7f 45 4c 46 01 01 01 61 00 00 00 00 00 00 00 00 can anybody help me out. Thanks in Advance |
Here are the flags used by default for a "beaglebone like" openembedded build.... perhaps you need one of these flags...
arm-poky-linux-gnueabi-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 |
Hi,
Thanks for the reply and sorry for the delayed response. I tried the options which u given but still I am getting OS/ABI flag value as 00. |
All times are GMT -5. The time now is 10:39 PM. |