On 10 Nov 2011, at 23:47, "Loïc Minier" <loic.min...@linaro.org> wrote:

> On Thu, Nov 10, 2011, Richard Earnshaw wrote:
>> You can't rely on finding it.  Executable images are only required to
>> have segment headers an d the attributes system uses section headers.
>> Section headers can be removed when an image gets stripped.
>
> but if I have it during the u-boot build, it's reliable?

I've no idea how uboot works in detail.  I'm describing the global rules for 
elf images.
>
> If not, can I check the architecture for which libgcc was built
> programatically?

If it's a static library, the you could extract one of the object files and 
look at its attributes.  If it's a shared lib, then the same restrictions would 
apply as to an executable.

R.
>
> --
> Loïc Minier
>

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to