• ADRP command loading incorrect address.
    Hi Arm experts, I have a load command to load a structure in assembly code as below: adrp x4 , ASM_NAME ( forkx ) This load instruction is not giving the proper address of the structure that i...
  • Cannot build position independent code that works
    I'm building code for NXP S32K148 MCU (Arm Cortex M4F) and I need to build code which is position independent. I'm using gcc 6.3.1 provided by NXP. I've almost managed to make it work... 1. I set the...
  • Position inpdeped code for bootloader.
    Hello, I'm creating a custom OTA firmware update on cc2640 chip from TI. (Cortex M3) For this reason two memory regions are reserved for firmware images. The problem is, the code works only if it is...
  • Equivalences between flags (parameters) of the cc and gcc compilers
    Hi. First of all, I appreciate your time spent on your response. I need to compile an application and the makefile it provides uses the cc compiler and the parameters (flags) are not equivalent with...
  • ADRP command getting crashed.
    Writing an assembly code and want to make the ASLR ( Address Space Layout Randomisation) complaint code. armb8le platform (64 bit) Previously was using LDR command to load the fork function as below...