X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-mips-elf%2Fgot-dump-2.s;fp=ld%2Ftestsuite%2Fld-mips-elf%2Fgot-dump-2.s;h=5a237fed2746c6644aef978232b955e3320f3382;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-mips-elf/got-dump-2.s b/ld/testsuite/ld-mips-elf/got-dump-2.s new file mode 100644 index 0000000..5a237fe --- /dev/null +++ b/ld/testsuite/ld-mips-elf/got-dump-2.s @@ -0,0 +1,22 @@ + .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