From: Hamish Moffatt <hamish@cloud.net.au>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0001542]: arm gcc-4.1.2 + oabi + soft floats fails to build
Date: Sat, 20 Oct 2007 11:03:52 +1000 [thread overview]
Message-ID: <20071020010352.GA14795@cloud.net.au> (raw)
In-Reply-To: <4718F974.3010404@promwad.com>
On Fri, Oct 19, 2007 at 09:37:40PM +0300, Ivan Kuten wrote:
> It compiled successfully but
>
> readelf -h build_arm/staging_dir/lib/libuClibc-0.9.29.so
> ELF Header:
> Magic: 7f 45 4c 46 01 01 01 61 00 00 00 00 00 00 00 00
> Class: ELF32
> Data: 2's complement, little endian
> Version: 1 (current)
> OS/ABI: ARM
> ABI Version: 0
> Type: DYN (Shared object file)
> Machine: ARM
> Version: 0x1
> Entry point address: 0xa520
> Start of program headers: 52 (bytes into file)
> Start of section headers: 525932 (bytes into file)
> Flags: 0x202, has entry point, GNU EABI, software FP
>
>
> Seems I get anyway EABI not OABI. Can you confirm this?
Hmm. readelf tells me the same thing, but "objdump -p" says otherwise.
[10:58AM] hamish at bach:staging_dir/usr/lib $ ../bin/armeb-linux-objdump -p libuClibc-0.9.29.so
libuClibc-0.9.29.so: file format elf32-bigarm
Program Header:
PHDR off 0x00000034 vaddr 0x00000034 paddr 0x00000034 align 2**2
filesz 0x000000c0 memsz 0x000000c0 flags r-x
INTERP off 0x000378f8 vaddr 0x000378f8 paddr 0x000378f8 align 2**3
filesz 0x00000018 memsz 0x00000018 flags r--
LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**15
filesz 0x00037910 memsz 0x00037910 flags r-x
LOAD off 0x00037ce4 vaddr 0x0003fce4 paddr 0x0003fce4 align 2**15
filesz 0x0000067c memsz 0x00004834 flags rw-
DYNAMIC off 0x00037dd8 vaddr 0x0003fdd8 paddr 0x0003fdd8 align 2**2
filesz 0x000000b8 memsz 0x000000b8 flags rw-
RELRO off 0x00037ce4 vaddr 0x0003fce4 paddr 0x0003fce4 align 2**0
filesz 0x0000031c memsz 0x0000031c flags r--
Dynamic Section:
NEEDED ld-uClibc.so.0
SONAME libc.so.0
INIT 0x32f10
HASH 0xf4
STRTAB 0x5970
SYMTAB 0x1930
STRSZ 0x260d
SYMENT 0x10
PLTGOT 0x3fe90
PLTRELSZ 0x160
PLTREL 0x11
JMPREL 0x83a8
REL 0x7f80
RELSZ 0x428
RELENT 0x8
BIND_NOW 0x0
FLAGS_1 0x1
RELCOUNT 0x5b
private flags = 202: [APCS-32] [FPA float format] [software FP] [has entry point]
APCS-32 is OABI, while EABI shows as AAPCS.
readelf tells me EABI for binaries built with an old gcc-3.4.4 too.
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
next prev parent reply other threads:[~2007-10-20 1:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-19 8:19 [Buildroot] [buildroot 0001542]: arm gcc-4.1.2 + oabi + soft floats fails to build bugs at busybox.net
2007-10-19 18:37 ` Ivan Kuten
2007-10-19 19:14 ` Ulf Samuelsson
2007-10-19 20:28 ` Ivan Kuten
2007-10-20 1:03 ` Hamish Moffatt [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-10-20 18:24 bugs at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071020010352.GA14795@cloud.net.au \
--to=hamish@cloud.net.au \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox