mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +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.
20 lines
355 B
Plaintext
20 lines
355 B
Plaintext
SECTIONS
|
|
{
|
|
. = 0x40000;
|
|
.reginfo : { *(.reginfo) }
|
|
.dynamic : { *(.dynamic) }
|
|
.hash : { *(.hash) }
|
|
.dynsym : { *(.dynsym) }
|
|
.dynstr : { *(.dynstr) }
|
|
.rel.dyn : { *(.rel.dyn) }
|
|
|
|
. = 0x50000;
|
|
.text : { *(.text) }
|
|
.MIPS.stubs : { *(.MIPS.stubs) }
|
|
|
|
. = 0x60000;
|
|
.data : { *(.data) }
|
|
_gp = ALIGN (16) + 0x7ff0;
|
|
.got : { *(.got) }
|
|
}
|