6 #ld
: -T got
-page
-1.ld
-shared
9 # got
-page
-3a
.s
and got
-page
-3b.s should get assigned the same GOT
,
10 #
with a page estimate of
10. Thus the first page entry has offset
11 #
-32744 (-32768 + 0x8000 - ELF_MIPS_GP_OFFSET
+ MIPS_RESERVED_GOTNO
)
12 #
and the first global entry has an offset
-32744 + 40 == -32704.
14 # got
-page
-3c
.s should get its own GOT
, and needs no page entries
.
15 # The first global symbol should therefore be at offset
-32744.