binutils-gdb/ld/testsuite/ld-xtensa/relax-undef-weak-local.s
Max Filippov f5e263426f xtensa: ld: add tests for static linkage relaxation
ld/
2018-07-23  Max Filippov  <jcmvbkbc@gmail.com>

	* testsuite/ld-xtensa/relax-static-defs.s: New file.
	* testsuite/ld-xtensa/relax-static-local-pie.d: New file.
	* testsuite/ld-xtensa/relax-static-local-shared.d: New file.
	* testsuite/ld-xtensa/relax-static-local.s: New file.
	* testsuite/ld-xtensa/relax-static-pie.d: New file.
	* testsuite/ld-xtensa/relax-static-shared.d: New file.
	* testsuite/ld-xtensa/relax-static.s: New file.
	* testsuite/ld-xtensa/relax-undef-weak-local-pie.d: New file.
	* testsuite/ld-xtensa/relax-undef-weak-local-shared.d: New file.
	* testsuite/ld-xtensa/relax-undef-weak-local.s: New file.
	* testsuite/ld-xtensa/relax-undef-weak-pie.d: New file.
	* testsuite/ld-xtensa/relax-undef-weak-shared.d: New file.
	* testsuite/ld-xtensa/relax-undef-weak.s: New file.
	* testsuite/ld-xtensa/xtensa.exp: New file.
2018-07-23 12:05:43 -07:00

32 lines
363 B
ArmAsm

.type fp,@function
.weak fp
.protected fp
.type fh,@function
.weak fh
.hidden fh
.type fi,@function
.weak fi
.internal fi
.globl _start
_start:
movi a5, fp@plt
movi a5, fh@plt
movi a5, fi@plt
movi a6, fp
movi a6, fh
movi a6, fi
.section ".text.a"
a:
movi a5, fp@plt
movi a5, fh@plt
movi a5, fi@plt
movi a6, fp
movi a6, fh
movi a6, fi