This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C67x Fast Math lib linker error



I was linking in the C67x fast math library (2_01_00)while using the expsp function. The problem is that the exsp.asm file places a section of code in the "text" section instead of the ".text" section. This caused the linker to throw an error stating that a section was being linked in without having a definition. I had to create a custom cmd file to specify this section.

  • Jeremiah,

    This query doesn't seem to be BIOS related, so I'm going to go ahead and move this thread to a different forum in hopes that it will get a faster response there.

    Dave

  • Jeremiah,

    Thanks for reporting this issue. You may be right here, it appears that there is a local version of expsp function in the src for powsp due to which there are 2 version of the expsp function, one under fastmath_install_dir/src/sp/expsp and the other can be found under fastmath_install_dir/src/sp/powsp. The function under the src directory for expsp has the required correction but the one in the powsp function does not. We apologize for the error. You can fix this by simply making the following change in the expsp.asm in the fastmath_install_dir/src/sp/powsp directory and rebuilding the library

    .sect text -> .sect .text

    We will file this as a bug and fix this in our next release. Let us know if you have any more issues.

    Thanks and Regards,

    Rahul