aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/refdbg.s
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2002-11-28 08:37:15 +0000
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2002-11-28 08:37:15 +0000
commit1448fa32275a8686debba9323308841480c33fc7 (patch)
tree73c0afef38d51a784d61b14d98dc2761d8803b47 /ld/testsuite/ld-sh/refdbg.s
parentc41b7eb1be7da45c3c1381b2a37aca8b30fa8331 (diff)
downloadbinutils-1448fa32275a8686debba9323308841480c33fc7.zip
binutils-1448fa32275a8686debba9323308841480c33fc7.tar.gz
binutils-1448fa32275a8686debba9323308841480c33fc7.tar.bz2
* elf32-sh.c (sh_elf_relocate_section): Don't complain about
unresolved debugging relocs in dynamic applications. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * ld-sh/refdbg-0-dso.d: New test. * ld-sh/refdbg-1.d: Likewise. * ld-sh/refdbg.s: Likewise. * ld-sh/refdbglib.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-sh/refdbg.s')
-rw-r--r--ld/testsuite/ld-sh/refdbg.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/refdbg.s b/ld/testsuite/ld-sh/refdbg.s
new file mode 100644
index 0000000..129d689
--- /dev/null
+++ b/ld/testsuite/ld-sh/refdbg.s
@@ -0,0 +1,11 @@
+ .text
+ .align 2
+ .globl _start
+ .type _start,@function
+_start:
+ rts
+ nop
+
+ .comm foo,4,4
+ .section .debug_info,"",@progbits
+ .ualong foo