This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM Linker defined symbols are not counted as referred from a steering file.

I'm making XEN hypervisor being able to be built with ARM Compile 6 (6.6.3 in particular).

When built with GNU tools XEN hypervisor uses number of symbols defined in a linker script. E.g. [1].

Unfortunately, I did not find how to define symbols in a .scat file [2]. So tried employing steering file for symbols resolution to ARM Linker defined symbols.

 Having only a steer file like [3], leads to errors like:

Error: L6280E: Cannot rename _start using the given patterns.
Error: L6280E: Cannot rename _einittext using the given patterns.
Error: L6280E: Cannot rename _etext using the given patterns.
Error: L6280E: Cannot rename _stext using the given patterns.

I have two hacky solutions for the problem:

  • Referring ARM linker defined symbols in a dummy code, then resolving them trough steering file [4]
  • Redefinition of required symbols to ARM linker defined symbols using macros [5].

Any of those solutions is hardly acceptable. And leads to the problem with `symbols` tool used by XEN hypervisor for the final compilation.

Could you please suggest a way to resolve this issue?