binutils-gdb/ld/testsuite/ld-xtensa/relax-static-local-pie.d
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

18 lines
319 B
Makefile

#source: relax-static-local.s
#source: relax-static-defs.s
#ld: -pie
#readelf: -r
#...
Relocation section '\.rela\.dyn' .* 6 .*
#...
.*R_XTENSA_RELATIVE.*
.*R_XTENSA_RELATIVE.*
.*R_XTENSA_RELATIVE.*
.*R_XTENSA_RELATIVE.*
.*R_XTENSA_RELATIVE.*
.*R_XTENSA_RELATIVE.*
#failif
#...
Relocation section '\.rela\.plt' .*
#...