Uclinux-2008r1-rc8 (bf561) to VDSP5 transplantation (+): __per_cpu_start

Source: Internet
Author: User

SMP is not supported in the original file, so there is no per_cpu problem, but after adding CONFIG_SMP, there are the following errors:

[Error li1021] The following symbols referenced in processor 'p0' could not be resolved:
'__per_cpu_end [___per_cpu_end]' referenced from 'init.dlb[main.doj]'
'__per_cpu_start [___per_cpu_start]' referenced from 'init.dlb[main.doj]'

To do this, we need to add such a statement to the. Init section of the LDF file:

//.percpu
INPUT_SECTION_ALIGN(64)
. = (. + 63) / 64 * 64;
__per_cpu_start = .;
INPUT_SECTIONS($LIBRARIES_CORE_A(.data.percpu))
__per_cpu_end = .;

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.