aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/symbol2w.s
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2006-11-06 10:39:17 +0000
committerVladimir Prus <vladimir@codesourcery.com>2006-11-06 10:39:17 +0000
commitbc251d509b711b2db0a1aa269c432d23be019f84 (patch)
tree06fe8b2bf5a956b0448c797a148d2ea1a665ed2a /ld/testsuite/ld-elf/symbol2w.s
parenta9353e608e5924c4208fae93e139d8f23b49f996 (diff)
downloadgdb-bc251d509b711b2db0a1aa269c432d23be019f84.zip
gdb-bc251d509b711b2db0a1aa269c432d23be019f84.tar.gz
gdb-bc251d509b711b2db0a1aa269c432d23be019f84.tar.bz2
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Don't prepend "warning" to the message. * testsuite/ld-elf/warn2.d: New. * testsuite/ld-elf/symbol2w.s: New. * testsuite/ld-elf/symbol2ref.s: New.
Diffstat (limited to 'ld/testsuite/ld-elf/symbol2w.s')
-rw-r--r--ld/testsuite/ld-elf/symbol2w.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/symbol2w.s b/ld/testsuite/ld-elf/symbol2w.s
new file mode 100644
index 0000000..2452b2b
--- /dev/null
+++ b/ld/testsuite/ld-elf/symbol2w.s
@@ -0,0 +1,6 @@
+ .section .gnu.warning,"a",@progbits
+ .global Foo
+ .type Foo, @object
+ .size Foo, 20
+Foo:
+ .string "function 'Foo' used"