Hello GCC community! I have fixed the issue. It wasn't a GCC NOR a binutils issue. Since binutils 2.44 or higher, assembly functions must include the assembler directive '.type sym_name, %function', if not they fail at linking with the following error messages: Implementation from the function: 'Unknown destination type (ARM/Thumb)' Caller from the function: 'dangerous relocation: unsupported relocation' On 5/4/25 15:54, Johannes Krottmayer via Gcc-help wrote: > Hello! > > I have built GCC 15.1.0 and binutils 2.44 for arm-none-eabi targets. > Tried to build U-Boot for an STM32 MCU, but running into an issue > at link time with the error "dangerous relocation: unsupported > relocation". > > With GCC 14.2.1 and binutils 2.43.1 there are no issues. > > Don't know if this is a regression from binutils or from GCC, > therefore I asked this question here. > Kind regards, Johannes