aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-misc/foo.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-01-02 16:04:32 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-01-02 16:04:32 +0000
commitf024e1550e072fdf8932f6c83e94e00626914279 (patch)
tree1a5dcb9c64dd86fe5c2e840a1382cfed0855b832 /ld/testsuite/ld-misc/foo.s
parentde1eb2f97323d181963913ef410d288f4b5a9eb3 (diff)
downloadgdb-f024e1550e072fdf8932f6c83e94e00626914279.zip
gdb-f024e1550e072fdf8932f6c83e94e00626914279.tar.gz
gdb-f024e1550e072fdf8932f6c83e94e00626914279.tar.bz2
Add a testcase for PR ld/12001.
2011-01-02 H.J. Lu <hongjiu.lu@intel.com> PR ld/12001 * ld-misc/defsym.exp: New. * ld-misc/defsym1.d: Likewise. * ld-misc/dummy.s: Likewise. * ld-misc/foo.s: Likewise. * ld-misc/start.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-misc/foo.s')
-rw-r--r--ld/testsuite/ld-misc/foo.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-misc/foo.s b/ld/testsuite/ld-misc/foo.s
new file mode 100644
index 0000000..b448f2f
--- /dev/null
+++ b/ld/testsuite/ld-misc/foo.s
@@ -0,0 +1,6 @@
+ .global foo
+ .global bar
+ .text
+bar:
+foo:
+ .byte 0