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

How to rename sections using ARM Compiler 6 tools?

I'm making XEN hypervisor being able to be built with ARM Compile 6 (6.6.3 in particular). While the hypervisor sources are compiled with armclang and linked with armlink into functional binary, some intermediate steps still require GNU toolchain. One of such a step is renaming sections in object files. Originally it is done with `$(CROSS_COMPILE)objcopy --rename-section...`. I expected `fromelf --elf --rename=...` will do the same for me, but it does not.

Could you please suggest a way to rename sections in object files using tools from ARM Compiler 6?

Here is the change: https://github.com/aanisov/xen-arm-ds6/commit/38b0d794363075a42b8e63912f0942a1813573cb