Position Independent Code (Relocatable Code) - 2025.2 English - UG1400

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2025-11-20
Version
2025.2 English

The MicroBlazeâ„¢ processor compilers support the -fPIC switch to generate position independent code. While the AMD compiler supports both features, Vivado only provides a standalone platform and do not support the rest of the libraries and tools. Debuggers cannot interpret relocatable code and perform the correct relocations at runtime. AMD libraries, startup files and other tools do not support independent code features. Third-party OS vendors can use these features as a standard in their distribution and tools.