https://gist.github.com/thejpster/1b9f6d92eaa295b03cedea4cc8128f9b is some source code. `clang --target=thumbv8m.main-none-eabi -o reloc reloc.c -O3 -nostdlib -fropi -frwpi` will build it. You get functions like: ```text 00020114 : 20114: 40 f2 00 00 movw r0, #0 20118: c0 f2 00 00 movt r0, #0 2011c: 59 f8 00 00 ldr.w r0, [r9, r0] 20120: 70 47 bx lr ``` You can see the load of the global variable is relative to register R9. Now if you add `-g` for debugging, you get an error from the linker: `ld.lld: error: /tmp/reloc-b5942a.o:(.debug_info+0x31): has non-ABS relocation R_ARM_SBREL32 against symbol 'GLOBAL_VALUE'`