Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22002

Replacement for Omagic flag?

$
0
0

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?


Viewing all articles
Browse latest Browse all 22002

Trending Articles