mips alignment restrictions

Florian Weimer fw@deneb.enyo.de
Sun Mar 22 09:11:58 GMT 2020

* Elyashiv Horovitz via Gcc-help:

> The mips abi states that
> "Virtual addresses and file offsets for MIPS segments are congruent modulo
> 64KByte (0x10000) or larger powers of 2"
> I'm trying to find the place where this is expressed in gcc source code.

Is this for the MIPS ELF variant?  This is handled by binutils.  I
assume it's in bfd/elf.c; search for “maxpagesize”.

More information about the Gcc-help mailing list