Skip to content
This repository was archived by the owner on Mar 24, 2019. It is now read-only.
This repository was archived by the owner on Mar 24, 2019. It is now read-only.

linking problem #1

@AGenchev

Description

@AGenchev

Hello, I tried to use this library (by building from source). Found a problem with linking.
You have placed each function in it's own section which is not a part of the .text section. The result is that the lib builds OK, the program who links in the lib also builds OK but on the device it hangs calling into nowhere.
The common linker scripts discard those sections, because they don't know anything of them.
Proposed solution: I've found that if I comment out the sections in the .S files, the code goes where it should and the library works:
Example (fixing mla function):
.section .fix32_mla, "x" becomes @ .section .fix32_mla, "x"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions