This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Fill bytes between each function

Hello,

in our build application, the executable contains fill bytes almost between every function and this increases the size of the executable greatly.

I assume this is to some alignment restriction, but I do not know where that should be coming from or how to change that.

Do you have any suggestions?

Thank you in advance.

Compiler: gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf

Parents
  • Hi, if I'm reading that correctly, those aren't particularly large amounts of fill data (0x30, 0x24, 0x8, etc), and this is AArch64, which performs better when keeping code aligned properly. Why is the fill data a problem for you?

    The actual alignment is probably coming from some ALIGN directive in your linker script.

Reply
  • Hi, if I'm reading that correctly, those aren't particularly large amounts of fill data (0x30, 0x24, 0x8, etc), and this is AArch64, which performs better when keeping code aligned properly. Why is the fill data a problem for you?

    The actual alignment is probably coming from some ALIGN directive in your linker script.

Children
No data