When switching from using GCC to CLANG, for some reason including the -N/--omagic flag increases my .elf executable size by ~1000x, as the physical address of an init_array section that is otherwise excluded is set to 0x10000000. This init_array section does not appear at all in the GCC version.Is there a combination of flags that can be used to replace this flag that would correct this behaviour?
↧