aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/mpx2c.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-11-20 12:35:10 -0800
committerH.J. Lu <hjl.tools@gmail.com>2013-11-20 12:35:10 -0800
commit9a2310125bcdec881dd1b21004ec0ea6558cfd4f (patch)
tree31376dc464ddf6371e0702fa2f4459e187e91a38 /ld/testsuite/ld-x86-64/mpx2c.c
parent069d6a0fbf09618055aeebc8587881a0a8f8dced (diff)
downloadbinutils-9a2310125bcdec881dd1b21004ec0ea6558cfd4f.zip
binutils-9a2310125bcdec881dd1b21004ec0ea6558cfd4f.tar.gz
binutils-9a2310125bcdec881dd1b21004ec0ea6558cfd4f.tar.bz2
Add mpx1static, mpx2 and mpx2static tests
* ld-x86-64/mpx.exp (build_tests): Add libmpx2a.a, libmpx2b.a and libmpx2c.a. (run_tests): Add mpx1static, mpx2 and mpx2static. * ld-x86-64/mpx2.out: Likewise. * ld-x86-64/mpx2a.c: Likewise. * ld-x86-64/mpx2a.rd: Likewise. * ld-x86-64/mpx2b.c: Likewise. * ld-x86-64/mpx2c.c: Likewise. * ld-x86-64/mpx2c.rd: Likewise.
Diffstat (limited to 'ld/testsuite/ld-x86-64/mpx2c.c')
-rw-r--r--ld/testsuite/ld-x86-64/mpx2c.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/mpx2c.c b/ld/testsuite/ld-x86-64/mpx2c.c
new file mode 100644
index 0000000..12c7806
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/mpx2c.c
@@ -0,0 +1,10 @@
+extern void foo1 (void);
+extern void foo2 (void);
+
+int
+main (void)
+{
+ foo1 ();
+ foo2 ();
+ return 0;
+}