diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-powerpc/relbrlt.s')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-powerpc/relbrlt.s | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-powerpc/relbrlt.s b/binutils-2.21/ld/testsuite/ld-powerpc/relbrlt.s new file mode 100644 index 0000000..cee0cdd --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-powerpc/relbrlt.s @@ -0,0 +1,34 @@ + .text + .global _start +_start: +1: + bl far + nop + bl far2far + nop + bl huge + nop + .long 0 + b 1b + .space 0x1bf0000 + + .section .text.pad1,"ax" + .space 0x1bf0000 + + .section .text.far,"ax" +far: + blr + + .section .text.pad2,"ax" + .space 0x40ffe0 + + .section .text.far2far,"ax" +far2far: + blr + + .section .text.pad3,"ax" + .space 0x1bf0000 + + .section .text.huge,"ax" +huge: + blr |