Lib1funcs.asm undefined reference to raise '

Source: Internet
Author: User

In the board/directory/platform. S (old version uboot) in the end, add:

or board/directory/lowlevel_init. S (new version) in the end, add:

. Globl Raise
Raise
Nop
mov pc, LR



Attach someone else's instructions

The solution is:

Two kinds:

1. To use a different configuration (estimated to be used to specify a non-Gun/linux class program), recompile a new version of the cross-compiler, and then use the new non-gnu/linux cross-compiler, to compile the old version of the Uboot, the normal compilation

2. Modify your uboot, plus the corresponding (casually write empty) __aeabi_ldiv0 or raise function.

Here is the second option, the specific approach:

The uboot here is Whgs (that is, make Whgs_config is used for configuration)

So find the corresponding assembly file, namely:

Board/whgs/lowlevel_init. S

At the end of the file, add it up?

1 2 3 4 5 6 @add empty raise () to fix (when use new EABI XScale Cross compiler To) compile @error gcc/config/arm/lib1funcs.asm:126 6:undefined reference to ' raise '. Globl raise RAISE:NOP mov pc, LR

And then recompile, you can.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.