7 addis 2,12,(.TOC.-0b)@ha
9 .localentry _start,.-0b
13 .cfi_def_cfa_offset 32
21 # 3000 plt calls, giving over 64k in .plt size. With a small .got
22 # this guarantees some plt call stubs can use a 16-bit signed offset
23 # from .TOC. while others need a 32-bit signed offset (and are larger).
52 # Padding to trigger a stub sizing error with commit 2f83249c13 and
53 # c804c6f98d (relro changes). This particular testcase gives a decrease
54 # in .got to .plt gap after .eh_frame editing, resulting in some plt
55 # call stubs being smaller. If the very last one is smaller the size
56 # error triggers. Arguably, the ppc64 backend should not report an
57 # error for shrinkage. However, the actual PR object files showed an
58 # *increase* in .got to .plt gap after .eh_frame editing, resulting in
59 # some plt call stubs being larger. That hit an assertion failure
60 # when a long branch stub followed the larger plt call stub and
61 # overwrote the end of the plt call stub.
62 # With enough fiddling of this testcase it likely would be possible to
63 # find the right padding here and .eh_frame sizing to trigger an
64 # increase in .got to .plt gap. The point of this testcase is to show
65 # that the .got to .plt gap should not change after sizing.
68 # Generate some .eh_frame info that -gc-sections will trim
70 .section .text.\f,"ax",@progbits