aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-xtensa/relax-undef-weak-pie.d
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-07-19 21:00:29 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2018-07-23 12:05:43 -0700
commitf5e263426f1f191ae85584a82dd793cfd3c951e9 (patch)
tree06097447d4edcdc9a5bfbc66fe841cc83579588e /ld/testsuite/ld-xtensa/relax-undef-weak-pie.d
parentda90fdf9936c532665e2a743d2fc5cf5e8f6816c (diff)
downloadgdb-f5e263426f1f191ae85584a82dd793cfd3c951e9.zip
gdb-f5e263426f1f191ae85584a82dd793cfd3c951e9.tar.gz
gdb-f5e263426f1f191ae85584a82dd793cfd3c951e9.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-xtensa/relax-undef-weak-pie.d')
-rw-r--r--ld/testsuite/ld-xtensa/relax-undef-weak-pie.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-xtensa/relax-undef-weak-pie.d b/ld/testsuite/ld-xtensa/relax-undef-weak-pie.d
new file mode 100644
index 0000000..3eec896
--- /dev/null
+++ b/ld/testsuite/ld-xtensa/relax-undef-weak-pie.d
@@ -0,0 +1,6 @@
+#source: relax-undef-weak.s
+#ld: -pie
+#readelf: -r
+#...
+There are no relocations in this file.
+#...