diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-11-20 12:35:10 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-11-20 12:35:10 -0800 |
commit | 9a2310125bcdec881dd1b21004ec0ea6558cfd4f (patch) | |
tree | 31376dc464ddf6371e0702fa2f4459e187e91a38 /ld/testsuite/ld-x86-64/mpx2c.c | |
parent | 069d6a0fbf09618055aeebc8587881a0a8f8dced (diff) | |
download | binutils-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.c | 10 |
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; +} |