Hi Peter,

It sees that as likes to pad sections so that they're multiples of 32 bytes.

Actually I think that the alignment is 16 bytes rather than 32 bytes, but anyway...

Is there a way to avoid this??

  Two possible alternatives:

1. Configure your binutils for an ELF target, not linux or something else. eg: "mipsisa32-elf".

2. Do not use the ,text, .data and .bss section names. Instead use some other names (eg .text.noalign) and then have the linker script map these sections onto the appropriate .text. .data or .bss section at link time.


FYI. The reason for this behaviour is described in the source code. See gas/config/tc-mips.c:md_begin().

Cheers
  Nick



_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to