diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-12-07 19:23:50 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-12-07 19:23:50 +0000 |
commit | af55061b181d122041b34ef1455fc379d83f9c5c (patch) | |
tree | 22957d437883bed8e2a6a499ae09b26d05a03152 /ld/testsuite/ld-plugin/lto-3a.c | |
parent | c4139418925416279f6d3fbc454d3892d6b7fb76 (diff) | |
download | gdb-af55061b181d122041b34ef1455fc379d83f9c5c.zip gdb-af55061b181d122041b34ef1455fc379d83f9c5c.tar.gz gdb-af55061b181d122041b34ef1455fc379d83f9c5c.tar.bz2 |
Add LTO tests
* ld-plugin/dummy.c: New file.
* ld-plugin/dummy.s: Likewise.
* ld-plugin/lto-11.out: Likewise.
* ld-plugin/lto-11a.c: Likewise.
* ld-plugin/lto-11b.c: Likewise.
* ld-plugin/lto-11c.c: Likewise.
* ld-plugin/lto-12.out: Likewise.
* ld-plugin/lto-12a.c: Likewise.
* ld-plugin/lto-12b.c: Likewise.
* ld-plugin/lto-12c.c: Likewise.
* ld-plugin/lto-13.out: Likewise.
* ld-plugin/lto-13a.c: Likewise.
* ld-plugin/lto-13b.c: Likewise.
* ld-plugin/lto-13c.c: Likewise.
* ld-plugin/lto-14.out: Likewise.
* ld-plugin/lto-14a.c: Likewise.
* ld-plugin/lto-14b.c: Likewise.
* ld-plugin/lto-14c.c: Likewise.
* ld-plugin/lto-15.out: Likewise.
* ld-plugin/lto-15a.c: Likewise.
* ld-plugin/lto-15b.c: Likewise.
* ld-plugin/lto-16a.c: Likewise.
* ld-plugin/lto-16a.d: Likewise.
* ld-plugin/lto-16b.c: Likewise.
* ld-plugin/lto-16b.d: Likewise.
* ld-plugin/lto-17a.c: Likewise.
* ld-plugin/lto-17a.d: Likewise.
* ld-plugin/lto-17b-1.d: Likewise.
* ld-plugin/lto-17b-2.d: Likewise.
* ld-plugin/lto-17b.c: Likewise.
* ld-plugin/lto-1a.c: Likewise.
* ld-plugin/lto-1b.c: Likewise.
* ld-plugin/lto-2.c: Likewise.
* ld-plugin/lto-3.d: Likewise.
* ld-plugin/lto-3.out: Likewise.
* ld-plugin/lto-3a.c: Likewise.
* ld-plugin/lto-3b.c: Likewise.
* ld-plugin/lto-3c.c: Likewise.
* ld-plugin/lto-3r.d: Likewise.
* ld-plugin/lto-5.d: Likewise.
* ld-plugin/lto-5.out: Likewise.
* ld-plugin/lto-5a.c: Likewise.
* ld-plugin/lto-5b.c: Likewise.
* ld-plugin/lto-5r.d: Likewise.
* ld-plugin/lto-6.c: Likewise.
* ld-plugin/lto-7.out: Likewise.
* ld-plugin/lto-7a.c: Likewise.
* ld-plugin/lto-7b.c: Likewise.
* ld-plugin/lto-7c.c: Likewise.
* ld-plugin/lto-7d.c: Likewise.
* ld-plugin/lto-8.out: Likewise.
* ld-plugin/lto-8a.c: Likewise.
* ld-plugin/lto-8b.c: Likewise.
* ld-plugin/lto-9.cc: Likewise.
* ld-plugin/lto-9.d: Likewise.
* ld-plugin/lto.exp: Likewise.
* ld-plugin/pr12696-1.cc: Likewise.
* ld-plugin/pr12758a.s: Likewise.
* ld-plugin/pr12758b.c: Likewise.
* ld-plugin/pr12760a.c: Likewise.
* ld-plugin/pr12760b.c: Likewise.
* ld-plugin/pr12942.out: Likewise.
* ld-plugin/pr12942a.cc: Likewise.
* ld-plugin/pr12942a.h: Likewise.
* ld-plugin/pr12942b.cc: Likewise.
* ld-plugin/pr12942c.cc: Likewise.
* ld-plugin/pr12975.c: Likewise.
* ld-plugin/pr12975.d: Likewise.
* ld-plugin/pr12975.t: Likewise.
* ld-plugin/pr12982.c: Likewise.
* ld-plugin/pr12982.d: Likewise.
* ld-plugin/pr13066.cc: Likewise.
* ld-plugin/pr13066.out: Likewise.
* ld-plugin/pr13183.d: Likewise.
* ld-plugin/pr13183a.c: Likewise.
* ld-plugin/pr13183b.c: Likewise.
* ld-plugin/pr13201.c: Likewise.
* ld-plugin/pr13201.out: Likewise.
* ld-plugin/pr13229.cc: Likewise.
* ld-plugin/pr13229.d: Likewise.
* ld-plugin/pr13244.c: Likewise.
* ld-plugin/pr13244.d: Likewise.
* ld-plugin/pr13287.cc: Likewise.
* ld-plugin/run-ie.c: Likewise.
* ld-plugin/run-ie.out: Likewise.
Diffstat (limited to 'ld/testsuite/ld-plugin/lto-3a.c')
-rw-r--r-- | ld/testsuite/ld-plugin/lto-3a.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/lto-3a.c b/ld/testsuite/ld-plugin/lto-3a.c new file mode 100644 index 0000000..5193972 --- /dev/null +++ b/ld/testsuite/ld-plugin/lto-3a.c @@ -0,0 +1,9 @@ +extern void foo(void); +extern void bar(void); + +int main(void) +{ + foo(); + bar(); + return 0; +} |