Probably the linker is making sure the file offset and VMA are the same modulo
the page size.

But that would be one huge file, as the VMA is near 2TB:

pc-bios/openbios-sparc64:     file format elf64-sparc
pc-bios/openbios-sparc64
architecture: sparc:v9, flags 0x00000102:
EXEC_P, D_PAGED
start address 0x000001fff0000000

Program Header:
   LOAD off    0x0000000000100000 vaddr 0x000001fff0000000 paddr
0x000001fff0000000 align 2**20
        filesz 0x00000000000600c0 memsz 0x00000000000f5000 flags rwx
  STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr
0x0000000000000000 align 2**3
        filesz 0x0000000000000000 memsz 0x0000000000000000 flags rwx

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
 0 .text         00028bd0  000001fff0000000  000001fff0000000  00100000  2**14
                 CONTENTS, ALLOC, LOAD, READONLY, CODE
 1 .rodata       0002cdbc  000001fff0030000  000001fff0030000  00130000  2**3
                 CONTENTS, ALLOC, LOAD, READONLY, DATA
 2 .data         000000c0  000001fff0060000  000001fff0060000  00160000  2**3
                 CONTENTS, ALLOC, LOAD, DATA
 3 .bss          00094000  000001fff0061000  000001fff0061000  001600c0  2**3
                 ALLOC
SYMBOL TABLE:
no symbols


Reply via email to