mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
ccb4c9519b
* readelf.c (print_mips_got_entry): New function. (process_mips_specific): Print GOT information. ld/testsuite/ * ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-1.s, ld-mips-elf/got-dump-1.ld, ld-mips-elf/got-dump-2.d, ld-mips-elf/got-dump-2.s, ld-mips-elf/got-dump-2.ld: New tests. * ld-mips-elf/mips-elf.exp: Run them.
23 lines
339 B
ArmAsm
23 lines
339 B
ArmAsm
.global glob
|
|
.ent glob
|
|
glob:
|
|
ld $4,%got_page(local)($28)
|
|
daddiu $4,$4,%got_ofst(local)
|
|
ld $4,%got_disp(hidden)($28)
|
|
ld $4,%call16(glob)($28)
|
|
ld $4,%call16(extern)($28)
|
|
.end glob
|
|
|
|
.data
|
|
.type local,%object
|
|
.size local,8
|
|
local:
|
|
.dword undef
|
|
|
|
.globl hidden
|
|
.hidden hidden
|
|
.type hidden,%object
|
|
.size hidden,8
|
|
hidden:
|
|
.dword 0
|